Hello there,
I am writing because our team has been dealing for a couple of weeks with some issue related to Enterprise builds.
We have a nighty build that we use for in-house manual testing. With Xcode 14, we triggered the watchOS migration to have a single target and this messed up our enterprise builds for iPadOS 15.
One of our devs cannot install the build on their iPad with the following error:
"<LSApplicationProxy: 0x283f63260> com.companyname.ent.appname file:///private/var/containers/Bundle/Application/70487F3B-511C-4812-ACD6-DFE0F070E62A/AppName.app/ <com.companyname.ent.appname <placeholder >:1>"
) (appInfos: (null))
error 09:56:22.478004-0800 appstored [UPPCF61D323/com.companyname.ent.appname ] Failing installation after receiving error: Error Domain=IXUserPresentableErrorDomain Code=1 "Unable To Install "AppName"" UserInfo={NSLocalizedDescription=Unable To Install "AppName", NSLocalizedFailureReason=Please try again later., NSLocalizedRecoverySuggestion=Found WatchKit 2.0 app at /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.6wkcAh/extracted/Payload/appname.app/Watch/appname-watchos.app but it does not have a WKWatchKitApp or WKApplication key set to true in its Info.plist, NSUnderlyingError=0x107d60c10 {Error Domain=MIInstallerErrorDomain Code=92 "Found WatchKit 2.0 app at /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.6wkcAh/extracted/Payload/appname.app/Watch/appname-watchos.app but it does not have a WKWatchKitApp or WKApplication key set to true in its Info.plist" UserInfo={LegacyErrorString=InvalidWatchKitApp, FunctionName=-[MIExecutableBundle watchKitV2AppBundleWithError:], SourceFileLine=1833, NSLocalizedDescription=Found WatchKit 2.0 ap
error 09:56:22.516819-0800 installcoordinationd -[IXSClientConnection _remote_createAppInstallCoordinatorWithSeed:createIfNotExisting:requireMatchingIntent:completion:]: Failed to locate an existing coordinated app install with bundle ID com.companyname.ent.appname for client appstored (pid 173)
error 09:56:22.713218-0800 appstored Failed to set fraction completed: 0.00 for: com.companyname.ent.appname
We tried deleting the targets and manually creating a new one from scratch. We simply have no idea why iPadOS 15 is failing to install because of watchOS when it shouldn't be looking for it in the first place.
Any help to end our suffering will be greatly appreciated.