简体   繁体   中英

iPhone app runs on iOS 4.3 when deployment target is 5.0 and does not run on ios 5.1 when deployment target is 4.3

My iPhone app runs on iOS 4.3 ( iPhone 3GS ) when deployment target is 5.0 and does not run on iOS 5.1 ( iPod 4 ) when the deployment target is 4.3 .

I'm confused why this is happening and I want to make sure I set the right deployment target.

I want my app to be compatible with the iPhone 3GS and better phones.

I have always been testing my app using the iOS 5.0 deployment target and it has always worked fine on the devices I have tested it on, however I read that it is necessary to set the deployment target as the lowest compatible iOS version, but doing so seems to do the opposite of what I would expect to happen.

I am using cocos2d for my app if that makes any difference.

Your deployment target should be set to the lowest version of iOS you want to support, in your case 4.3. But your Base SDK should be set to Latest iOS 在此处输入图片说明

This is more of an architecture issue it seems. Try adding armv6 architecture in addition to armv7 and armv7s.

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