UIRequiredDeviceCapabilities问题

UIRequiredDeviceCapabilities问题

本文介绍了在ITC审查期间观看OS3,UIRequiredDeviceCapabilities问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在testflight审核期间,我遇到了以下问题:

During testflight review, I run into the following issue:

我们无法在运行的Apple Watch上安装应用扩展 OS3.在以下位置设置Info.plist中的UIRequiredDeviceCapabilities键: 该应用程序不会安装在运行的Apple Watch上的方式 OS3.

We were unable to install the app extension on an Apple Watch running OS3. The UIRequiredDeviceCapabilities key in the Info.plist is set in such a way that the app will not install on an Apple Watch running OS3.

后续步骤

请检查UIRequiredDeviceCapabilities键以验证它 仅包含您的应用功能所需的属性,或者 设备上不得存在的属性.属性 如果需要,由字典指定的值应设置为true 如果设备上不存在它们,则为false.

Please check the UIRequiredDeviceCapabilities key to verify that it contains only the attributes required for your app features or the attributes that must not be present on the device. Attributes specified by a dictionary should be set to true if they are required and false if they must not be present on the device.

现在,我的应用程序几乎是Watch OS3的Xcode示例项目,我没有以任何方式干预UIRequiredDeviceCapabilities.

Now, my app is pretty much the Xcode example project for Watch OS3, I have not meddled with the UIRequiredDeviceCapabilities in any way.

实际上,"Watch App"目标和"Watch App Extension"目标均没有"UIRequiredDeviceCapabilities"条目,只有iOS主目标才具有以下条目:

In fact, neither the 'Watch App' nor the 'Watch App Extension' target even have an entry for 'UIRequiredDeviceCapabilities', only the iOS main target has the entry:

<key>UIRequiredDeviceCapabilities</key>
<array>
    <string>armv7</string>
</array>

在直接通过Xcode将其提供给设备的Watch OS3手表上,该应用程序也可以很好地安装.

App installs fine on watches with Watch OS3 too, when suppling it to devices via Xcode directly.

推荐答案

我最终从iOS目标的设备功能中删除了"armv7",它被接受了.没关系,因为它只是iOS父应用程序的设置,但由于某种原因,后来被接受了:/

I ended up removing the 'armv7' from the device capabilities of the iOS target and it was accepted.It shouldn't really matter, as it's only the setting for the iOS parent app but for some reason it was accepted afterwards :/

这篇关于在ITC审查期间观看OS3,UIRequiredDeviceCapabilities问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 20:41