gpt4 book ai didi

ios - 将应用程序提交到 iTunes Connect 时排除 iPod

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:07:04 26 4
gpt4 key购买 nike

当我向 iTunes Connect 提交申请时,如何设置“兼容性”以排除 iPod touch?

在 Xcode 中,我的应用程序部署设置有一个“目标设备系列”“iPhone/iPad”,但 iTunes Connect 似乎在任何允许使用 iPhone 的地方都包含 iPod touch,因此应用程序的 iTunes 列表指出:“兼容性: 需要 iOS 5.0 或更高版本。与 iPhone、iPad 和 iPod touch 兼容。此应用程序针对 iPhone 5 进行了优化。

该应用程序确实在 iPod touch 上运行,但严重依赖 3G,因此我们只是希望 iPod touch 不包含在列表中。

谢谢。

最佳答案

由于您希望该应用仅与 iPhone 和 iPad 兼容,而不与 iPod 兼容,我猜您必须在 info.plist 文件中设置 UIRequiredDeviceCapabilities 条目(字典)和值为 ma​​gnetometer 的键YES,意思是只有支持磁力计的设备才能使用该应用。

我检查过只有 iPhone 和 iPad 不支持 iPod 支持磁力计。看看Device Compatibility - Apple Documnetation供您确认。

我还没有测试过这个,但它应该按照文档中的说明工作:

The value of the UIRequiredDeviceCapabilities key is either an array or a dictionary that contains additional keys identifying features your app requires (or specifically prohibits). If you specify the value of the key using an array, the presence of a key indicates that the feature is required; the absence of a key indicates that the feature is not required and that the app can run without it. If you specify a dictionary instead, each key in the dictionary must have a Boolean value that indicates whether the feature is required or prohibited. A value of true indicates the feature is required and a value of false indicates that the feature must not be present on the device. If a given capability is optional for your app, do not include the corresponding key in the dictionary.

Table 1-1 lists the keys that you can include in the array or dictionary for the UIRequiredDeviceCapabilities key. You should include keys only for the features that your app absolutely requires. If your app can run without a specific feature, do not include the corresponding key.

祝你好运:)

关于ios - 将应用程序提交到 iTunes Connect 时排除 iPod,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26842065/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com