Xcode Error – Profile doesn’t include the com.apple.developer.icloud-container-environment entitlement


We have enabled iCloud capability in our application and enabled below services,

  1. Key-value storage
  2. iCloud Documents

But while trying to export the build through the archive, it’s throwing me the below error,

Profile doesn't include the com.apple.developer.icloud-container-environment entitlement.

I have tried to set the com.apple.developer.icloud-container-environment entitlement in Entitlements file also as Production or Development but it did not help me either.

Any clue how to resolve this error?

enter image description hereenter image description hereenter image description here

Source: Ios

Categorised as archive, icloud, ios, ios-provisioning, xcode


Try the following steps, which might help you

  • Go to the apple dev portal
  • open Certificates, Identifiers & Profiles section
  • edit/create your existing provisioning profile manually
  • download it from the portal, name it uniquely so you can distinguish
    it from the Xcode generated, i.e. “MyNewProfile”
  • export the archive and assign MyProfile

Mrs. Dorothea McClure V

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us