Good morning
We're happy to have access to Xcode Cloud. However, we get the following error during the "Prepare Build for App Store Connect" phase:
Archive - iOS encountered a failure that caused the build to fail.
Prepare Build for App Store Connect
ITMS-90166: Missing Code Signing Entitlements. No entitlements found in bundle 'com.***.***.iOS-NotificationService-Ext' for executable 'Payload/***.app/PlugIns/iOS-NotificationService-Ext.appex/iOS-NotificationService-Ext'.'
An entitlement is missing for our notification service extension? It is strange knowing that we can build, archive and upload to App Store Connect successfully locally from any Xcode.. It just fails with Xcode Cloud making the service sadly useless for us.
Any idea? recommendation?
I hit this issue too, but there was an easy fix. Just add an Entitlements file to your plugin (in my case the Notification Extension) and give it some dummy capability like Associated Domains. After that it will generate an entitlements file and associate it with the target (you can go to the target's build settings and type code signing to confirm). After adding this file the archive got pushed successfully to ASC