开发者

Xcode compiling for a lower version iOS

开发者 https://www.devze.com 2023-02-07 01:44 出处:网络
I have just upgraded my iOS sdk to the latest version 3.2.5 and I found that I can\'t i开发者_Go百科nstall my app on my iPhone 4.1.Is there a way that I can compile my program for the old iOS or do I

I have just upgraded my iOS sdk to the latest version 3.2.5 and I found that I can't i开发者_Go百科nstall my app on my iPhone 4.1. Is there a way that I can compile my program for the old iOS or do I need to upgrade my iPhone to 4.2?

Thanks.


If you had the 4.1 sdk earlier, you can set the deployment target for your app in Project->Edit Active Target->Build. Choose the "iOS Deployment Target" and set 4.1 there.


In Xcode 4, set your target in the project settings like this:

Xcode compiling for a lower version iOS

0

精彩评论

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