开发者

How to find iOS 4 only code in iPhone project

开发者 https://www.devze.com 2023-01-13 06:49 出处:网络
i have a iPhone Project with Base SDK 4.0 and Deployment Target set to 3.0 with XCode 3.2.3. Is there an \"easy\" way to find out whether i use iOS 4 only API calls in my Source Code. I\'m aware that

i have a iPhone Project with Base SDK 4.0 and Deployment Target set to 3.0 with XCode 3.2.3. Is there an "easy" way to find out whether i use iOS 4 only API calls in my Source Code. I'm aware that i could install an old XCode to run my project against an e.g. 3.1.3 Simulator, but i hope there is a simpler way for checking this.

Anybody has an idea?

Thanks Ro开发者_Go百科land


Set the SDK to a 3.x SDK and recompile. If you have any new errors or warnings, it's probably a sign you have 4.0-specific code, and the errors will tell you where.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号