菜鸟教程小白 发表于 2022-12-13 10:28:30

ios - Apple Watch 应用程序安装问题 - NSExtensionPointIdentifier


                                            <p><p>我正在尝试从 Xcode 6.2 将带有 WatchKit App 和 WatchKit Extension 的应用安装到 iOS8.1 手机上。</p>

<p>我将部署目标设置为 8.1
以及 8.2 的 Base SDK。</p>

<p>我收到此错误:</p>

<pre><code>This app contains an app extension that specifies an extension
point identifier that is not supported on this version of iOS
for the value of the NSExtensionPointIdentifier key in its Info.plist
</code></pre>

<p>我看到了一些类似的问题,但没有找到可行的解决方案。有没有办法以编程方式处理较低的 iOS 版本?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>为了回答这个问题(使用@LoVo 的评论) - 我通过在扩展程序的build设置(而不是主应用程序的build设置)中将部署目标更改为 8.2 来解决了这个问题。</p>

<p>主应用的部署目标可以设置为较低的部署目标,我的现在是7.0。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - Apple Watch 应用程序安装问题 - NSExtensionPointIdentifier,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/29390474/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/29390474/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - Apple Watch 应用程序安装问题 - NSExtensionPointIdentifier