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

Apple Watch app installation issue - NSExtensionPointIdentifier

我正在尝试将带有 WatchKit 应用程序和 WatchKit 扩展的应用程序安装到 iOS8.1 phone,来自 Xcode 6.2.

我将部署目标设置为 8.1 和 8.2 的 Base SDK。

我收到这个错误:

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 版本?

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

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