当我尝试在我的设备上运行我的 Apple Watch 应用程序时出现以下错误:
error: WatchKit App doesn't contain any WatchKit Extensions. Verify that the value of NSExtensionPointIdentifier in your WatchKit Extension's Info.plist is set to com.apple.watchkit.
NSExtensionPointIdentifier 的值设置正确。
有没有其他人遇到过这个错误?
最佳答案
我通过在扩展的build设置中将部署目标更改为 9.0 解决了这个问题。
关于swift - 仅在真实设备上出现 NSExtensionPointIdentifier 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32041382/