iCloud和Xcode 6-无处不在的容器 [英] iCloud and Xcode 6 - Ubiquity Container
问题描述
我目前正在使用iCloud Drive和CloudKit Framework的iOS 8应用程序上工作。
一切都是使用Xcode 6设置的。
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.
当我尝试将我的应用程序提交到iTunesConnect时,出现以下错误:
When I try to submit my App to iTunesConnect I get the following error:
当我在其中添加密钥时我的iCloud权利我无法对应用程序进行代码签名,并且Xcode也向我发送错误。
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>
我会得到这个错误:
无法代码签名。有人可以帮我解决这个问题吗?
And I'm not able to Code sign. Can anyone please help my with that issue ?
推荐答案
我遇到了同样的情况。经过一段时间的摸索,这似乎可以正常工作:
I ran into the same situation. After stumbling around for a while, this is what seemed to work:
- 在在线developer.apple.com会员中心,我关闭了应用程式编号中的云端授权。然后重新打开。并选择 Cloud Kit(不兼容Xcode 5)。然后,我重新生成了配置文件,并下载并安装了它。
- 在Xcode 6.0.1的功能下,我保留了键值存储的选择,并选择了CloudKit(不是iCloud文档 已选中;我不使用它)。选择了使用默认容器,这与在线会员中心上的应用程序ID中提供的相同。
- 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.
- 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.
祝您好运!
这篇关于iCloud和Xcode 6-无处不在的容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!