开发者

iphone: deployment target

开发者 https://www.devze.com 2023-02-23 13:32 出处:网络
How is this possible? I configured my iPhone app like this: I pushed 开发者_如何学编程it into the App Store and now Apple says:

How is this possible? I configured my iPhone app like this:

iphone: deployment target

iphone: deployment target

iphone: deployment target

iphone: deployment target

I pushed 开发者_如何学编程it into the App Store and now Apple says:

You have indicated that your binary requires iOS 4.3 or later. Apps that require iOS 4.3 or later will not be available to Verizon iPhone users.

Do I have to change the Base SDK to target iPhone 3.0 platform??? How can I do this? Thx!

ANSWER: If you leave the default 3.0 value the iOS Deployment Target is not shown/set which means the latest iOS will be selected? This is the xcode4 bug I beleave.


In XCode 4 it really easy to fix. Click on your project then go to the summary tab and you should see the Deployment Target drop down to select your target. This is a shortcut for the Build Setting.

I would like to add that I hope you have tested your application on previous versions of iOS before deploying your app. Currently your application will have weak references to the API and all new API calls will compile fine, but will crash when run on older devices if you do not use the proper runtime checks.

Edit The image did not show up when I answered your question. Double check inside your build settings the deployment target is the same for Debug, Release and Distribution

0

精彩评论

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