应用商店说“需要iOS 4.0";但部署目标是3.1.3 [英] App store say "requires iOS 4.0" but deployment target is 3.1.3

查看:50
本文介绍了应用商店说“需要iOS 4.0";但部署目标是3.1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在App Store中批准了我的应用,但是只有运行4.0的设备才能下载它. Xcode中的项目设置为基本SDK 4.0"和部署目标3.1.3".

I have just have my app approved in the App Store, but only devices running 4.0 can download it. The project settings in Xcode says "base SDK 4.0" and the "deployment target 3.1.3".

我的plist文件中是否有其他设置或值,或者我在iTunes connect中设置的内容可能会产生这种结果.

Is there some other setting or value in my plist file or thing I have set in iTunes connect that could yield such a result.

我不使用仅4.0版本的API,并且希望运行3.1.3及更高版本的用户能够使用该应用程序.

I use no 4.0-only API's and would like people running 3.1.3 and up to be able to use the app.

推荐答案

XCode中存在一个错误,我认为可能是您遇到问题的原因:您需要同时为当前目标进行所有项目设置(选择目标并按cmd + i),然后进入项目设置(项目>编辑项目设置).两种形式是绝对相同的,并且具有相同的信息,但是它们并不相互对应-以一种形式进行的更改不会反映在另一种形式中.因此,请确保在两个地方都填写必要的信息,并确保每个表格都使用相同的配置(调试,发布等).

There is a bug in XCode that I think may be the reason for your problem: You need to do all the project settings BOTH for the current target (select target and hit cmd + i) and in the project settings (project > edit project settings). The two forms are absolutely identical and hold the same information, however they do not correspond to each other - changes made in one form wouldn't reflect in the other. So, make sure to fill in the necessary information in both places and also make sure you're using the same configuration (debug, release,..) for each form.

我不太确定这是一个错误还是一个功能-它给我带来了一些麻烦,但是由于生成临时分发的内部版本存在类似问题.

edit: I'm not quite sure if this is really a bug or rather a feature - it caused me some trouble however because of similar problems with producing builds for ad hoc distribution.

这篇关于应用商店说“需要iOS 4.0";但部署目标是3.1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆