我已经为现有的iOS应用添加了Watch应用目标,但我在手表模拟器上安装时遇到了问题。它总是失败与此消息
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)
我已经尝试创建新的示例应用程序,它工作正常。我比较了两个手表应用程序的设置,它们是相同的。有什么问题吗?谅谅
找到了解决方案,这与错误信息完全无关。
我改变了 有效的架构 在 建立设置 到 $(ARCHS_STANDARD) 所有目标的。