I'm building a iOS static library for third parties to use. It's built using several other static libraries containing a large amount of C++, resulting in a huge deliverable library.
The API to the iOS library is quite simple, and I know that it doesn't exercise all of the included code. I'd like to remove the unwanted modules from the various libraries so I can get the final size down.
I have an example app which uses all the library APIs, and when it's linked most of the symbols in the library are discarded. Is there a way of getting a list of those symbols?