菜鸟教程小白 发表于 2022-12-12 11:42:54

iOS 应用提交审核失败 'UIRequiredDeviceCapabilities'


                                            <p><p>我在尝试通过 iTunes Connect 提交我的新应用版本以供审核时遇到错误。这是我得到的错误:</p>

<blockquote>
<p>The app&#39;s Info.plist can&#39;t contain values for the UIRequiredDeviceCapabilities key that would prevent this app from opening on any iOS device that was supported by previous versions. For more information, see Understanding the UIRequiredDeviceCapabilities Key.</p>
</blockquote>

<p>在此应用程序之前发布的每个版本中,我在 plist 文件的“UIRequiredDeviceCapabilities”下列出了以下属性:</p>

<pre><code>armv7
</code></pre>

<p>在这个最新版本中,我包含了一些取决于位置的功能,因此我增加了所需的功能:</p>

<pre><code>armv7, location-services, gps
</code></pre>

<p>这会导致我的构建在提交时抛出上述错误消息。有没有人处理过这个问题?</p>

<p>目前,我已尝试升级版本并尝试从所需功能中删除“armv7”。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p> <a href="https://developer.apple.com/library/ios/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html" rel="noreferrer noopener nofollow">Device Compatibility for iTunes submissions.</a> </p>

<p>以下是相关部分:</p>

<blockquote>
<p>Important: All device requirement changes must be made when you submit
an update to your binary. You are permitted only to expand your device
requirements. Submitting an update to your binary to restrict your
device requirements is not permitted. You are unable to restrict
device requirements because this action will keep customers who have
previously downloaded your app from running new updates.</p>
</blockquote>

<p>所以简短的回答是,你不能那样做。如果您绝对必须拥有这些标志,那么您将需要为它创建一个新应用程序。</p></p>
                                   
                                                <p style="font-size: 20px;">关于iOS 应用提交审核失败&#39;UIRequiredDeviceCapabilities&#39;,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/38217039/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/38217039/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: iOS 应用提交审核失败 &#39;UIRequiredDeviceCapabilities&#39;