我已经被这个问题困扰了好几天了。如果有人能给我指明方向,我真的很感激。
突然之间,我无法在模拟器上构建手表应用程序 - 但我仍然可以在设备上构建。它显示如下错误。它看起来像目标架构问题,但构建设置架构设置为 $(ARCHS_STANDARD)。
显示错误消息后,模拟器有未完成安装的应用程序。点击它会触发另一个对话框:开发人员需要更新此应用程序才能在此版本的 watchOS 上运行。
Details
“xxx” Needs To Be Updated
Domain: IXUserPresentableErrorDomain
Code: 4
Failure Reason: This app needs to be updated by the developer to work on this version of watchOS.
Recovery Suggestion: Failed to find matching arch for input file: /Users/xxx/Library/Developer/CoreSimulator/Devices/D5BAD233-3780-483A-BD6C-880255002917/data/Library/Caches/com.apple.mobile.installd.staging/temp.V1pK3n/extracted/Watch.app/PlugIns/Watch Extension.appex/Watch Extension
--
Failed to find matching arch for input file: /Users/xxx/Library/Developer/CoreSimulator/Devices/D5BAD233-3780-483A-BD6C-880255002917/data/Library/Caches/com.apple.mobile.installd.staging/temp.V1pK3n/extracted/Watch.app/PlugIns/Watch Extension.appex/Watch Extension
Domain: MIInstallerErrorDomain
Code: 15
User Info: {
FunctionName = MIMachOFileMatchesMyArchitecture;
LegacyErrorString = IncorrectArchitecture;
SourceFileLine = 51;
}
System Information
macOS Version 11.0.1 (Build 20B29)
Xcode 12.2 (17535) (Build 12B45b)
Timestamp: 2020-11-30T15:27:57+11:00
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)