Add the “iCloud containers” entitlement to your App ID

Danboz picture Danboz · Jun 24, 2016 · Viewed 11.2k times · Source

I am trying to fix this issue for hours now. I have checked the App ID and confirmed the iCloud containers. Also i have entered the same in the app entitlements.

But there is a always a red mark before "Add the “iCloud containers” entitlement to your App ID". I created the new provisioning profile and removed the expired provision files also. This is the first time i am facing this issue.

Is this issue related with the developer certificate signing or something?

enter image description here

Answer

Ashik picture Ashik · Jun 26, 2016

I was having the same problem couple of days ago. Fixed it by doing these steps:

  1. Go to your developer account
  2. Find the App ID you are working on
  3. Click edit.
  4. On the iCloud section select the radio button that says "Include CloudKit support (requires Xcode 6)" enter image description here

Worked for me.