I've followed all the advice I could find to allow two different apps to share small bits of data via iCloud. Everything worked as expected in testing but after both apps have been released on the app store, one of the apps doesn't read the data.
Here's the setup:
app 1 ID: com.mycompany.superapp
app 2 ID: com.mycompany.superduperapp
I've set com.apple.developer.ubiquity-kvstore-identifier as com.mycompany.superapp in both app's entitlement file. Both app IDs share the same 10 character prefix.
App 2 functions as expected. But when App 1 (the one whose ID is actually used in the entitlements) tries to access the iCloud data, I see:
Warning: com.mycompany.superapp has no valid com.apple.developer.ubiquity-kvstore-identifier entitlement
Warning: Can't get application info for com.mycompany.superapp
Does anyone have any idea what could be wrong?