Danboz
Danboz

Reputation: 561

Add the “iCloud containers” entitlement to your App ID

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

Upvotes: 10

Views: 13354

Answers (9)

KATJ Srinath
KATJ Srinath

Reputation: 970

  1. I Turned on iCloud
  2. Set the Cloud kit Container through the Apple Developer dashboard to the app I needed
  3. Rename project bundle Identifier from the Xcode 10 and rename back to the original identifier after all fine
  4. Provisional profile got updated

Upvotes: 0

matt
matt

Reputation: 534893

I solved this by:

  1. Turn off iCloud capabilities.

  2. Change the app's bundle id.

  3. 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.

Upvotes: 3

Dave
Dave

Reputation: 5416

I tried all of the above, in the end all I did was quit Xcode, open it up again, and toggle the iCloud capability off and on again.

Upvotes: 1

Idrees Khan
Idrees Khan

Reputation: 7752

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.

Upvotes: 4

epx
epx

Reputation: 1096

At least in Xcode 9.1, I had to choose the Team in Signing section (Target -> General pane). The team was already chosen but I had to choose it again to make the error disappear. It might have to do with developer certificate renewal.

Upvotes: 1

John
John

Reputation: 8548

In my case, under Xcode - General - Signing, the name in the Team field was not correct.

Upvotes: 1

Prakash Raj
Prakash Raj

Reputation: 1943

Try - delete all provisioning profiles - go to Xcode->preference->account - add your apple id here (makes you easy to download profiles) - Click download profiles.

Upvotes: 0

hyouuu
hyouuu

Reputation: 2491

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 :]

Upvotes: 2

Ashik
Ashik

Reputation: 1259

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.

Upvotes: 12

Related Questions