Posts

Post not yet marked as solved
3 Replies
0 Views
As I wrote in my comment, we ran into the same problem. After looking in the more detailed logs which are provided in AppstoreConnect/XCodeCloud, especially XYZBuild123/app-store-export-archive-logs/xcodebuil-export-archive.log (download "XCResult for..." from Build 123 -> Artefacts), we found that it said: error: exportArchive: Provisioning profile "iOS Team Store Provisioning Profile: xxxxxxxx" doesn't include the com.apple.smoot.subscriptionservice entitlement. We need this entitlement and included it in our provisioning profiles. But it seems that Xcode doesn't use our own profiles, but a team profile created during build. After deleting entitlement entries from the configurations and (just to be sure) deleting the .entitlements files completely the build ran. However this is no solution, because we need those entitlement entries if we want to distribute our app, but at least we seem to have found the bug.