iOS Watch 应用程序无法安装

编程入门 行业动态 更新时间:2024-10-08 04:29:19
本文介绍了iOS Watch 应用程序无法安装 - WatchKit 1.0 应用程序不再可安装在此 watchOS 版本上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

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

I have added Watch App target for existing iOS app but I have problem to install it on watch simulator. It always fails with this message

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)

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

I have tried to create new sample app and it works fine. I compared both watch apps settings and they are same. Any idea what can be issue? Thanks

推荐答案

找到解决方案,与错误信息完全无关.

Found solution, which is totally unrelated to error message.

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

I changed Valid architectures in Build settings to $(ARCHS_STANDARD) for all targets.

这篇关于iOS Watch 应用程序无法安装 - WatchKit 1.0 应用程序不再可安装在此 watchOS 版本上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-26 21:35:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1142697.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   iOS   Watch

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!