How to detect & avoid the use of private APIs in third party libraries
问题 Now that Apple is running some kind of static analysis to automatically check for private API use, a number of people have been caught because of the Three20 library. I use another third-party library (which I compile myself from code) and I would like to automatically audit it for private API use before I submit to Apple, so I can eliminate/re-write those parts. If I run nm on my application executable, I get a list of symbols, and I am seeing symbols in there that I don't use. For example I