iOS Watch app fails to install - WatchKit 1.0 apps are no longer installable on this watchOS version

你说的曾经没有我的故事 提交于 2021-02-11 06:05:54

问题


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


回答1:


Found solution, which is totally unrelated to error message.

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



来源:https://stackoverflow.com/questions/61634007/ios-watch-app-fails-to-install-watchkit-1-0-apps-are-no-longer-installable-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!