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:
-
"There is no iCloud container on this team"
-
"Provisioning profile doesn't support the iCloud Container
-
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?
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 👌