2

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

我将部署目标设置为 8.1,将基本 SDK 设置为 8.2。

我收到此错误:

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

我见过一些类似的问题,但没有找到有效的解决方案。有没有办法以编程方式处理较低的 iOS 版本?

4

1 回答 1

4

为了回答这个问题(使用@LoVo 的评论) - 我通过在扩展程序的构建设置(而不是主应用程序的构建设置)中将部署目标更改为 8.2 来解决这个问题。

主应用的部署目标可以设置为较低的部署目标,我的现在是 7.0。

于 2015-04-07T07:31:44.673 回答