简体   繁体   中英

Xcode compiling for a lower version iOS

I have just upgraded my iOS sdk to the latest version 3.2.5 and I found that I can't install 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项目设置的屏幕截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM