Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在watchOS模拟器Xcode9、iOS11、watchOS4应用程序崩溃上安装应用程序_Ios_Swift_Watchkit_Xcode9_Watchos 2 - Fatal编程技术网

无法在watchOS模拟器Xcode9、iOS11、watchOS4应用程序崩溃上安装应用程序

无法在watchOS模拟器Xcode9、iOS11、watchOS4应用程序崩溃上安装应用程序,ios,swift,watchkit,xcode9,watchos-2,Ios,Swift,Watchkit,Xcode9,Watchos 2,我为watchOS编写了一个程序,并尝试在模拟器上运行它。我无法在模拟器上运行此应用程序,安装失败,错误为:无法安装该应用程序 我使用的是xcode9,模拟器:iphone7+苹果手表系列2-38mm 这是我的CoreSimulator.log摘要 11月17日10:38:47 xyz iMac com.apple.dt.Xcode[351]: installApplication:withOptions:error::error Domain=IXUserPresentableErrorDom

我为watchOS编写了一个程序,并尝试在模拟器上运行它。我无法在模拟器上运行此应用程序,安装失败,错误为:无法安装该应用程序

我使用的是xcode9,模拟器:iphone7+苹果手表系列2-38mm 这是我的CoreSimulator.log摘要

11月17日10:38:47 xyz iMac com.apple.dt.Xcode[351]: installApplication:withOptions:error::error Domain=IXUserPresentableErrorDomain Code=2“无法启动此应用程序 已安装。“UserInfo={NSLocalizedDescription=无法安装此应用程序。” 已安装,NSUnderlyingError=0x7fbc74153480{错误 域=MIInstallerErrorDomain代码=59“Appex捆绑包位于 /用户/fe/Library/Developer/CoreSimulator/Devices/58D7256F-1247-48E3-BDE2-F2F44CEEB0E9/data/Library/Caches/com.apple.mobile.installd.staging/temp.Sku79o/extracted/testwatch.app/Watch/testwatch WatchKit App.App/PlugIns/testwatchkit Extension.appex,id为 com.test.testwatch.watchkitapp.watchkitextension指定一个值 (com.apple.watchkit)中的NSExtensionPointIdentifier键 其Info.plist中的NSExtension字典与 已知扩展点。” UserInfo={LegacyErrorString=AppexBundleUnknownExtensionPointIdentifier, FunctionName=-[MIPluginKitPluginBundle OverlaidFoplistWitherRor:], SourceFileLine=215,NSLocalizedDescription=Appex bundle位于 /用户/fe/Library/Developer/CoreSimulator/Devices/58D7256F-1247-48E3-BDE2-F2F44CEEB0E9/data/Library/Caches/com.apple.mobile.installd.staging/temp.Sku79o/extracted/testwatch.app/Watch/testwatch WatchKit App.App/PlugIns/testwatchkit Extension.appex,id为 com.test.testwatch.watchkitapp.watchkitextension指定一个值 (com.apple.watchkit)中的NSExtensionPointIdentifier键 其Info.plist中的NSExtension字典与 已知扩展点。}}


尝试更改

NSExtensionPointIdentifier

N扩展属性

iOS 8及更高版本和macOS 10.10及更高版本支持此密钥。 检查IOS版本


尝试更改

NSExtensionPointIdentifier

N扩展属性

iOS 8及更高版本和macOS 10.10及更高版本支持此密钥。 检查IOS版本


重新安装Xcode解决了这个问题。

重新安装Xcode解决了这个问题。

你能发布你的信息吗。plist?上传了有问题的屏幕截图。你能发布你的信息吗?plist?上传了有问题的截图。我没有更改任何设置。这是Xcode提供的。更新了答案我正在使用MacOS 10.13.1、Xcode 9.1和模拟器iOS 11.1I,但没有更改任何设置。这是Xcode提供的。更新了答案我正在使用MacOS 10.13.1、Xcode 9.1和模拟器iOS 11.1