[英]App store rejected App because of UIRequiredDeviceCapabilities key
I will quote the apple document for UIRequiredDeviceCapabilities which states : 我将引用苹果文档的UIRequiredDeviceCapabilities,其中指出:
UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. UIRequiredDeviceCapabilities(数组或字典-iOS)可让iTunes和App Store知道应用程序运行所需的设备相关功能。 iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities. iTunes和移动App Store使用此列表来防止客户在不支持所列功能的设备上安装应用程序。
If you use an array, the presence of a given key indicates the corresponding feature is required. 如果使用数组,则给定键的存在表示需要相应的功能。 If you use a dictionary, you must specify a Boolean value for each key. 如果使用字典,则必须为每个键指定一个布尔值。 If the value of this key is true, the feature is required. 如果此键的值为true,则此功能为必需。 If the value of the key is false, the feature must not be present on the device. 如果密钥的值为false,则该功能不得出现在设备上。 In both cases, omitting a key indicates that the feature is not required but that the app is able to run if the feature is present 在这两种情况下,省略键都表明该功能不是必需的,但如果存在该功能,则该应用程序可以运行
armv7 Include this key if your app is compiled only for the armv7 instruction set. ARMv7的 ,如果您的应用程序只编为的ARMv7指令集包含此键。 minimum ios version : iOS 3.1 最低ios版本:iOS 3.1
location-services Include this key if your app requires (or specifically prohibits) the ability to retrieve the device's current location using the Core Location framework. location-services如果您的应用要求(或明确禁止)使用“核心位置”框架检索设备当前位置的功能,请包含此密钥。 (This key refers to the general location services feature. If you specifically need GPS-level accuracy, you should also include the gps key.) minimum ios version : iOS 3.0 (此键指的是常规位置服务功能。如果您特别需要GPS级别的精度,则还应包括gps键。) 最低ios版本:iOS 3.0
apple doc link for UIRequiredDeviceCapabilities UIRequiredDeviceCapabilities的Apple文档链接
i have one key armv7 in UIRequiredDeviceCapabilities array in info.plist for all my targets and minimum ios version is set to 8.0 , Supported Architectures : armv7, arm64 , Required Capabilities : armv7 , App-Version : 1.0 我在info.plist的UIRequiredDeviceCapabilities数组中的所有目标都有一个关键armv7 , 最低ios版本设置为8.0 , 支持的体系结构:armv7,arm64 , 必需的功能:armv7,应用程序版本:1.0
Now, i am using coreLocation Services for google map to find the lat- long of a place in the app. 现在,我正在使用coreLocation Services for Google Map在应用程序中查找某个地方的时间。 Do i need to add the location-services key also and will it help. 我还需要添加location-services密钥吗?
I am researching on this topic from days but can't find answer. 我几天来一直在研究这个主题,但找不到答案。
I would say you need at least the following capabilites: 我会说您至少需要以下功能:
armv7
, arm64
, location-services
and gps
. armv7
, arm64
, location-services
和gps
。
There was some confusion about valid architecture that my app should support. 关于我的应用程序应支持的有效体系结构,有些困惑。 Firstly i deleted alamofire xcode project and added alamofire pod, this decreases plist numbers from 5 to 2 which was relieving. 首先,我删除了alamofire xcode项目,并添加了alamofire pod,这将plist的数量从5个减少到2个,从而减轻了负担。
Then i changed targeted family from 1,2 to only 1 since my app was for iphone only. 然后我将目标家庭从1,2更改为只有1,因为我的应用仅适用于iphone。
Deleted i386 architecture from valid architecture supported 从支持的有效架构中删除了i386架构
If you'll check your project you will find various places to define deployment target. 如果您要检查项目,则可以找到各种地方来定义部署目标。 assign same deployment target throughout the app 在整个应用程序中分配相同的部署目标
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.