Add the “iCloud containers” entitlement to your App ID
I was trying to add an App ID matching my project's bundle ID, but it still doesn't update the warnings in iCloud.
Then I found that in "General" -> "Signing" it says Target is ad hoc signed
, and I tapped the Enable Development Signing
button, then Xcode started to auto manage the App ID etc and everything turned green :]
I solved this by:
Turn off iCloud capabilities.
Change the app's bundle id.
Turn on iCloud capabilities.
Now everything is regenerated afresh, and the error goes away. Of course, now the bundle id is wrong. But now you can go to the member center, delete the old (faulty) app id and any associated provisioning profiles, and change the bundle id back again.
For me everything was just fine. I had to close and reopen xcode. Then go to 'Capabilities' and Toggle the 'iCloud' i.e OFF and Then ON it again.
I was having the same problem couple of days ago. Fixed it by doing these steps:
- Go to your developer account
- Find the App ID you are working on
- Click edit.
- On the iCloud section select the radio button that says "Include CloudKit support (requires Xcode 6)"
Worked for me.