Apple Watch应用安装问题 - NSExtensionPointIdentifier

时间:2015-04-01 12:11:20

标签: ios watchkit xcode-6.2

我正在尝试使用WatchKit App和WatchKit Extension将应用安装到iOS8.1手机上,来自Xcode 6.2。

我将部署目标设置为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版本?

1 个答案:

答案 0 :(得分:4)

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

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