I've been following this thread, having a similar issue with our watch extension app that suddenly stopped working when our testers updated their iOS device to iOS 15 and watch to Watch OS 8.
So far I've recreated new provisioning profiles, verified that the codesign looks similar to what is suggested, seen that there's a DER-profile entry in the provisioning profile and also tried adding --generate-entitlement-der to build settings. Still, building the app for enterprise and installing it works on the iOS device but the embedded watch app does not.
When you try to install it from the iOS watch.app, then it fails with "could not install the app at this time"
And the error we get is:
0x170053000 -[ACXInstallQueue _onQueue_deQueueNextOperation]_block_invoke_2: Failed to install app my.test.app (p = N, ui = Y) : Error Domain=ACXErrorDomain Code=17 "Got error 17 in install done from remote side (MI error ApplicationVerificationFailed ; Extended 0xe8008029 ; Desc Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.y3l1mI/extracted/Payload/Watch.app : 0xe8008029 (The code signature version is no longer supported.))" UserInfo={SourceFileLine=646, NSLocalizedDescription=Got error 17 in install done from remote side (MI error ApplicationVerificationFailed ; Extended 0xe8008029 ; Desc Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.y3l1mI/extracted/Payload/Watch.app : 0xe8008029 (The code signature version is no longer supported.)), FunctionName=-[ACXServerInstallOperation receivedDictionaryOrData:]}
Which indicates that the wrong provisioning profile is used but that doesn't seem to be the case.
Our page size:
Page size=4096
-7=8d48d5d98df3b77ce25ac0b1ad03b1d4f50e23d7e377979e409b107324e18266
-6=0000000000000000000000000000000000000000000000000000000000000000
-5=4146cb67c2b6ce380836b0f27ac5760098b8a1af18608163202fd0a9d961d29d
-4=0000000000000000000000000000000000000000000000000000000000000000
-3=e722d3b1b52761052da2177e2b81de694bec9d06dab31ad57519afca738d4e6e
-2=4b1957d850c9cd59d4a501d12adc7db5ffc46fd3a68f0f7cb7665edc2be308dd
CodeDirectory v=20400
Like I mentioned, the iOS app works fine, it's only the watch extension app that doesn't launch.
I've tried to build the app on Xcode 12.5.1 and Xcode 13 and the machine is running Mac OS Big Sur.
I am not sure what else to try, any ideas?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: