Is there a way for Xcode to warn about new API calls?
问题 On more than one occasion I've seen crashing bugs appear on iOS 3.x due to use of a new call that was introduced in 4.x without proper checking. Is there a way for Xcode to warn about classes, methods and procedures that are only available a later version than the deployment target? That way I could easily list through all the code and make sure it's properly conditionalized. 回答1: I've actually released something which helps with testing this sort of thing. It's part of my MJGFoundation set