Xcode 13 Beta 3 failing to setup iCloud container (provisioning profile)

I've been trying to get CloudKit sharing working on the beta without success so far and Beta 3 has offered a new problemL

When I try to create a new project with CoreData and iCloud enabled, and then go to add the iCloud capability to the project, I get three errors in the provisioning step:

  1. "There is no iCloud container on this team"

  2. "Provisioning profile doesn't support the iCloud Container

  3. Provisioning profile doesn't match the entitlements file's value for the com.apple.developer.icloud-container-identifiers entitlement.

Does anyone have any idea what's going wrong here?

Accepted Reply

I solved it by going to my project's Identifiers in Certificates, Identifiers & Profiles and configured iCloud there. Then in Xcode hit try again and it should do the trick 👌

  • Legend! Thanks so much!

  • Have you managed to get a CloudKit app working? Now that the profile works again, I'm not getting data sent through to the CloudKit conceal nor to other simulator instances... lots of "Failed to sync user" messages in the console...

Add a Comment

Replies

I solved it by going to my project's Identifiers in Certificates, Identifiers & Profiles and configured iCloud there. Then in Xcode hit try again and it should do the trick 👌

  • Legend! Thanks so much!

  • Have you managed to get a CloudKit app working? Now that the profile works again, I'm not getting data sent through to the CloudKit conceal nor to other simulator instances... lots of "Failed to sync user" messages in the console...

Add a Comment

This has been resolved in Xcode 13 Beta 4.