user2924482 user2924482 - 4 years ago 153
iOS Question

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

I'm working in Mac app using cloudkit but when I tried to "validate a developer ID-signed application" for adhoc distribution I get this error:

"the archived application has entitlements that require Mac app store distribution. The invalid entitlements were: com.apple.developer.ubiquity-kvstore-identifier"

enter image description here

This only happens when I have include cloudKit. Any of you knows what can I be doing wrong or how to fix this error?

I'll really appreciate your help.

Answer Source

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

So you won't be able to use Cloudkit in a Developer ID signed app.

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download