问题
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