ios - cloudkit: validate a developer ID-signed application error: the archived application has entitlements that require Mac app store 分布

标签 ios macos xcode6 cloudkit

我在使用 cloudkit 的 Mac 应用程序中工作,但是当我尝试为临时分发“验证开发人员 ID 签名的应用程序”时,我收到此错误:

“存档的应用程序具有需要 Mac 应用商店分发的权利。无效的权利是:com.apple.developer.ubiquity-kvstore-identifier”

enter image description here

只有在我包含 cloudKit 时才会发生这种情况。你们中有人知道我可能做错了什么或如何解决此错误吗?

非常感谢您的帮助。

最佳答案

CloudKit is an app service available only to apps distributed through the App Store and Mac App Store.

因此您将无法在 Developer ID 签名的应用程序中使用 Cloudkit。

https://developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/CloudKitQuickStart/EnablingiCloudandConfiguringCloudKit/EnablingiCloudandConfiguringCloudKit.html

关于ios - cloudkit: validate a developer ID-signed application error: the archived application has entitlements that require Mac app store 分布,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27374381/

相关文章:

ios - 使用 swift 更改自定义属性检查器值

ios - 在键盘上方向上移动文本字段

ios - TapGestureRecognizer 不调用选择器

objective-c - 保留/分配内存管理

iphone - 用粉笔效果画线( cocoa / cocoa 触感)?

macos - OS X 框架库未加载 : 'Image not found'

ruby-on-rails - Rails 使用错误版本的 Ruby 启动

ios - XCode 6 当条件为 false 时单步执行 IF 语句

ios - PresentViewController 故障排除

ios - 安装测试版后,Xcode 6 显示 Xcode 7 Beta 错误消息