bitrise-steplib / steps-ios-auto-provision-appstoreconnect

MIT License
15 stars 16 forks source link

Fail to match iCloud container when re-using existing provisioning profile #32

Closed tomaszkoperski closed 3 years ago

tomaszkoperski commented 3 years ago

I'm getting this error:

failed to check if profile is valid: project uses containers that are missing from the provisioning profile: [iCloud.$(CFBundleIdentifier)]

whenever I try to run auto provisioning using this plugin. The problem doesn't happen when I delete the provisioning profiles in App Store Connect (so they are created instead of being pulled down from the ASC API).

Happened here: https://app.bitrise.io/build/183b9120fcdeaf4a

bitce commented 3 years ago

Hi @tomaszkoperski !

Thank you, we're looking into this! Do you mind if we run a few tests in a separate workflow?

daida commented 3 years ago

Hello, I have got EXACTLY the same issue !

daida commented 3 years ago

I fix this issues by removing provisoning profiles in Xcode, rm -rf ~/Library/MobileDevice/Provisioning\ Profiles after that, Xcode generate new provisioning profiles and everything works for one build, but the next build will fail again !

bitce commented 3 years ago

The investigation and fixing of this is already in progress, will make sure to post an update here once we can!

bitce commented 3 years ago

Hi @tomaszkoperski and @daida, we just released a new version (0.1.6) of the step that contains the fix. https://github.com/bitrise-steplib/steps-ios-auto-provision-appstoreconnect/releases/tag/0.1.6 Hope this helps!

daida commented 3 years ago

Cool ! thanks !

daida commented 3 years ago

Works perfectly !! Thank you very much !

github-actions[bot] commented 3 years ago

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.