ObjectiveC Static libraries linker issues
I don’t like to go around and share those ‘a-ha’ moments with people, but this link saved the day and lots of headaches:
http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library
Apparently XCode likes to ‘optimize’ the static libraries and remove ‘unused classes’ from them; only that it has a very wrong idea of what classes are unused; adding -all_load at Other Linker flags will stop this evil behavior.





