bitrise-steplib/steps-xcode-archive

XcodeArchiver is not fixing the AppGroup list entitlements

leverdeterre opened this issue · 2 comments

Troubleshooting

  • I've searched discuss.bitrise.io for possible solutions.
  • Which version of the step is effected? 4.3.1
  • Is the issue reproducible with the latest version? YES
  • Does the issue happen sporadically, or every time? EVERY TIME
  • Is the issue reproducible locally by following our local debug guide? YES / NO / NOT APPLICABLE

Useful information

Issue description

I have created a new App (new BundleId, new entitlements), without using Xcode. (Using Xcode is cheating because Xcode is automatically trying to repair the mobile provisioning & the App configuration on the dev portal)

So the good news are

  • Bitrise is able to create an App on the Apple Developper Account
  • Bitrise is able to create the new AppGroups (and probably all the entitlement types)

So bad news is

  • Bitrise is not able to configure the App and to set the proper AppGroup list into the entitlements. In a perfect world Bitrise should be able to modify the entitlements configuration if the entitlements are not correct on the Account.

Bitrise info

❌ error: Provisioning profile "Bitrise iOS development - (com.follow.newdemo.QA)" doesn't support the App Groups capability. (in target 'QA' from project 'ClientName')
❌ error: Provisioning profile "Bitrise iOS development - (com.follow.newdemo.QA)" doesn't support the group.com.follow App Group. (in target 'QA' from project 'ClientName')
❌ error: Provisioning profile "Bitrise iOS development - (com.follow.newdemo.QA)" doesn't include the com.apple.security.application-groups entitlement. (in target 'QA' from project 'ClientName')

 Checking enterprise provisioning profiles
 Checking development provisioning profiles
  

Steps to reproduce

  1. Clone an existing App project
  2. Without Xcode, change the App BundleID to a new one and configure a new AppGroup in the entitlements of your app.
  3. Execute the archive & export plugin

✅ You will see that Bitrise creates successfully a new App on the Apple Dev portal
❌ You will see that Bitrise creates successfully a new AppGroup in the AppGroup list on the Apple Dev portal
❌ You will see that Bitrise forgot to check the AppGroup for the App configuration. So the mobile provisioning are detected as invalid and will be re-downloaded ... but still invalid because of the missing entitlement.

Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.

To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant.
This issue has had no activity for 90 days, so I marked it as stale.

The community would appreciate if you could check if the issue still persists. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".

If no comment left within 21 days, this issue will be closed.

I'll close this issue as it doesn't seem to be relevant anymore.
We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.