[英]How can I configure which devices are able to use my app? (ie ALL devices, including older gen)
I have set minimum iOS version to 3.1.3, added a required device architecture of either armv6 or armv7 and it still will not allow iPod touches before third generation to install the app. 我已将iOS的最低版本设置为3.1.3,添加了必需的armv6或armv7的设备体系结构,并且在第三代安装该应用程序之前它仍然不允许iPod touch。 Am I missing a setting/plist entry somewhere that allows me to easily adjust which devices are supported?
我是否在某个地方缺少设置/列表列表条目,从而可以轻松调整支持哪些设备?
Just changing the iOS deployment target (to 3.1.3 in your case) doesn't necessarily mean that your app will be able to run on that version. 仅更改iOS部署目标(在您的情况下为3.1.3)并不一定意味着您的应用将能够在该版本上运行。 It also depends on what APIs you use.
这也取决于您使用的API。 As a concrete example, if you were to use
NSArray
's enumerateObjectsUsingBlock:
somewhere in your app, it would only run on iOS 4.0 and later as previous versions don't include that method. 举一个具体的例子,如果您要在应用程序中的某处使用
NSArray
的enumerateObjectsUsingBlock:
NSArray
则它将仅在iOS 4.0和更高版本上运行,因为以前的版本不包含该方法。
You should set the iOS deployment target to the oldest version that you've successfully tested . 您应该将iOS部署目标设置为已成功测试的最旧版本。 While you could just read the API diffs that Apple provides, you might miss something and that would be bad.
尽管您可以阅读Apple提供的API差异,但您可能会错过一些东西,那将是很糟糕的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.