I have added cloudkit to an existing app and I'm having a little trouble with xcode not automatically creating Containers when adding iCloud capability to Signing & Capabilites. It looks like this:
What can be the problem here? I have followed the guide on Apples page:
CodePudding user response:
It seems you have to enable iCloud for your provision profile. It can be done by going to the Identifiers section at developer.apple.com. Then find your bundle identifier and make sure iCloud is checked.
CodePudding user response:
It was solved by creating a new container in xcode, quite simple. And now everything works! Just press the plus as seen below and give it a name, preferably same name as the bundle identifier but starting with icloud: icloud.com.developerName.projectName