gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-28 07:58:17 28 4
gpt4 key购买 nike

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

我正在使用 xcode9,模拟器:iphone7 + Apple Watch Series 2 - 38mm这是我的 CoreSimulator.log 摘要

Nov 17 10:38:47 xyz-iMac com.apple.dt.Xcode[351] : installApplication:withOptions:error:: Error Domain=IXUserPresentableErrorDomain Code=2 "This app was unable to be installed." UserInfo={NSLocalizedDescription=This app was unable to be installed., NSUnderlyingError=0x7fbc74153480 {Error Domain=MIInstallerErrorDomain Code=59 "Appex bundle at /Users/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/testwatch WatchKit Extension.appex with id com.test.testwatch.watchkitapp.watchkitextension specifies a value (com.apple.watchkit) for the NSExtensionPointIdentifier key in the NSExtension dictionary in its Info.plist that does not correspond to a known extension point." UserInfo={LegacyErrorString=AppexBundleUnknownExtensionPointIdentifier, FunctionName=-[MIPluginKitPluginBundle overlaidInfoPlistWithError:], SourceFileLine=215, NSLocalizedDescription=Appex bundle at /Users/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/testwatch WatchKit Extension.appex with id com.test.testwatch.watchkitapp.watchkitextension specifies a value (com.apple.watchkit) for the NSExtensionPointIdentifier key in the NSExtension dictionary in its Info.plist that does not correspond to a known extension point.}}}

This is the error Message This is info.plist file

最佳答案

尝试改变之间的顺序

NSExtensionPointIdentifier

NSExtensionAttributes

NSExtensionPointIdentifier: This key is required for every app extension, and must be placed as an immediate child of the NSExtension key.

此键在 iOS 8 及更高版本以及 macOS 10.10 及更高版本中受支持。检查IOS版本。

Have you tried taking a look at this post?

关于ios - 无法在 watchOS 模拟器上安装应用程序 Xcode9、iOS11、watchOS4 应用程序崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47328330/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com