iCloud and Xcode 6 - Ubiquity Container

北城余情 提交于 2019-12-21 04:14:38

问题


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:

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:

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


回答1:


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!



来源:https://stackoverflow.com/questions/25886250/icloud-and-xcode-6-ubiquity-container

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!