has no valid com.apple.developer.ubiquity-kvstore-identifier entitlement AD HOC iCloud

Go To StackoverFlow.com


I'm having trouble with iCloud key value store. I currently have a core data synced by iCloud working, but I cannot get K-V Store to work I'm getting:

com.domain.appname has no valid com.apple.developer.ubiquity-kvstore-identifier entitlement

com.domain.appname is the format of my appid, masked for privacy.

This has been around for a while, and I've seen people having this issue and when reinstalling the app the issue is gone, but that won't apply to me. Don't know why.

My entitlements:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">

If you need anything else just ask, Thank you!

2012-04-03 23:48
by Nicolas S
Hello Nicolas S,how did you solve the issue - Hawk-Eye 2014-11-10 10:08


this link worked for me. Try this. Reinstall the app as well as quit the xcode and restart the device. It will work fine.

2012-09-13 13:06
by Ananth
Thanks for your advice ill try it out and come back! EDIT: Nope, it did not work.. Still same issu - Nicolas S 2012-09-28 22:30


Simply, the error is saying that the com.apple.developer.ubiquity-kvstore-identifier "Key" is missing from the entitlement file which had generated when you enabled iCloud in capabilities. Follow the steps in the screenshot I attached:

or 1. just go to the entitlement file and right click on any row and choose Show Raw Keys/Values

  1. When you hover over Entitlement File row (at the top), a plus button will appear.

  2. Click it and drop down list will appear, choose com.apple.developer.ubiquity-kvstore-identifier and for the value just copy and paste this $(AppIdentifierPrefix)YOUR_BUNDLE_ID

  3. Clean. Build. And Enjoy.

Entitlement file screen shot

2016-06-08 18:58
by Jad