iCloud set up and provisioning

后端 未结 5 1414
生来不讨喜
生来不讨喜 2020-12-16 00:32

I am trying to set up iCloud within my iOS application, I have done the following:

  1. Removed all old certs on mac.
  2. Added iCloud to the App in Dev Consol
5条回答
  •  没有蜡笔的小新
    2020-12-16 01:17

    I had an error of "Add iCloud Containers to your App ID".

    Automatic signing was unable to resolve an issue with target's entitlements.

    I don't even use iCloud Containers, only Key-value storage(keychain). I also switched in iCloud section under my App Identifier in Member Center from "Compatible with Xcode 5" to "Include CloudKit support (requires Xcode 6)" problem still remains.

    So I fixed it like this:

    1. Enable iCloud Capabilities panel in my target by setting the toggle to ON.
    2. Turn on "Include CloudKit support (requires Xcode 6)" in Member Center (still got same error).
    3. in Xcode in iCloud Capabilities TURN ON CloudKit (even if you don't need it) and then turn OFF.

    And then problem solved for me!

提交回复
热议问题