Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iCloud and Xcode 6 - Ubiquity Container

I am currently working on an app for iOS 8 which uses iCloud Drive and the CloudKit Framework. Everything was set up by using Xcode 6.

When I try to submit my App to iTunesConnect I get the following error: enter image description here

When I'm adding the Key in my iCloud entitlements I'm not able to Code sign the app and Xcode sends me an error,too.

<key>com.apple.developer.ubiquity-container-identifiers</key>
<string>de.sn0wfreeze.CloudFInder</string>

I'll get that error:

enter image description here

And I'm not able to Code sign. Can anyone please help my with that issue ?

like image 304
Sn0wfreeze Avatar asked Sep 17 '14 08:09

Sn0wfreeze


1 Answers

I ran into the same situation. After stumbling around for a while, this is what seemed to work:

  1. In the online developer.apple.com member center, I turned off cloud entitlement in the app id. Then turned it back on. And selected "Cloud Kit" (not Xcode 5 compatibility). Then I regenerated my provisioning profile and downloaded and installed it.
  2. In Xcode 6.0.1, under Capabilities, I left key-value storage selected, and selected CloudKit (iCloud Documents not selected; I don't use it). "Use default container" was selected, and that was the same as given in the app id on the online member center.

Good luck!

like image 91
Chris Prince Avatar answered Oct 04 '22 22:10

Chris Prince