【发布时间】:2015-05-19 22:48:39
【问题描述】:
我有一个 iOS 部署目标为 iOS 7.0 的应用,并且我添加了一个 WatchKit 目标。正如预期的那样,WatchKit 扩展的 iOS 部署目标为 8.2。当我在 iOS 8.2 模拟器上运行主应用程序时,一切都按预期工作。但是,如果我尝试在 iOS 8.1 模拟器上运行它,Xcode 会报告:The operation couldn’t be completed. (LaunchServicesError error 0.)
CoreSimulator.log 文件包含以下消息:
com.apple.dt.Xcode[12181] : Error Domain=LaunchServicesError Code=0“无法完成操作。(LaunchServicesError 错误 0。)”UserInfo=0x7ff46e2dc980 {Error=AppexBundleUnknownExtensionPointIdentifier,ErrorDescription=Appex 捆绑包位于/Users//Library/Developer/CoreSimulator/Devices//data/Library/Caches/com.apple.mobile.installd.staging/temp.xmo2ks/extracted/InstallBug.app/PlugIns/InstallBug WatchKit Extension.appex,ID 为 com。 .InstallBug.watchkitextension 为其 Info.plist 中的 NSExtension 字典中的 NSExtensionPointIdentifier 键指定一个值 (com.apple.watchkit),该值与已知扩展点不对应。
我在发行说明中没有看到任何提及此问题的内容,我想知道这是否是其他人遇到的问题。如果是这样,我是否需要配置其他东西才能使其正常工作?如果没有,我会提交错误报告。
谢谢。
【问题讨论】: