horse
apple is another name i've heard for osage orange, is there another tree that goes by that name too? picture doesn't quite look like osage orange.
on re-looking at the picture, it really seems like it's got pinnate leaves with spine right on the leaf midribs...but i could be wrong. i don't recognize it but i think it looks cool! the leaves seem bigger and more waxy/plasticky than locusts or acacia, but my searches aren't turning up anything helpful.