我已经为现有的iOS应用程序添加了手表应用程序目标,但我在手表模拟器上安装它有问题。它总是失败,并显示以下消息
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)
我试着创建新的示例应用程序,它工作得很好。我比较了两个手表应用程序的设置,它们是一样的。知道什么是可以发布的吗?谢谢
发布于 2020-05-06 20:48:09
已找到解决方案,与错误消息完全无关。
我将所有目标的构建设置中的有效体系结构更改为$(ARCHS_STANDARD)。
发布于 2022-01-15 15:47:57
在我的例子中,它是"WatchKit应用程序“和"WatchKit扩展”的不同部署目标。
https://stackoverflow.com/questions/61634007
复制相似问题