2

我已经为现有的 iOS 应用程序添加了 Watch App 目标,但在手表模拟器上安装它时遇到问题。此消息总是失败

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)

我试图创建新的示例应用程序,它工作正常。我比较了两个手表应用程序设置,它们是相同的。知道可能是什么问题吗?谢谢

4

2 回答 2

1

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

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

于 2020-05-06T12:48:09.223 回答
0

就我而言,这是“WatchKit App”和“WatchKit Extension”的不同部署目标。

于 2022-01-15T15:47:57.113 回答