iOS Watch应用无法安装-WatchKit 1.0应用无法在该watchOS版本上安装

时间:2020-05-06 11:26:59

标签: ios watchkit xcode11.4

我为现有的iOS应用添加了Watch App目标,但在将其安装到Watch Simulator时遇到了问题。总是出现此消息失败

This app could not be installed at this time.
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Could not install at this time.
Recovery Suggestion: WatchKit 1.0 apps are no longer installable on this watchOS version.
--
WatchKit 1.0 apps are no longer installable on this watchOS version.
Domain: MIInstallerErrorDomain
Code: 133
User Info: {
    FunctionName = "-[MIInstallableBundle _isValidWatchKitApp:withVersion:installableSigningInfo:error:]";
    LegacyErrorString = UnsupportedWatchKitVersion;
    SourceFileLine = 683;
}
--


System Information

macOS Version 10.15.4 (Build 19E287)
Xcode 11.4.1 (16137)

我尝试创建新的示例应用程序,并且运行良好。我比较了两个手表应用程序的设置,它们是相同的。知道会有什么问题吗?谢谢

1 个答案:

答案 0 :(得分:1)

找到了解决方案,它与错误消息完全无关。

我将所有目标的有效设置中的有效架构更改为 $(ARCHS_STANDARD)