CloudKit records not showing on Dashboard?

Hi devs,

We are using CloudKit on tvOS and are having an issue whereby the records written by our app are not showing up in the Dashboard. We are signed into the dashboard with the same account as the one signed into the Apple TV. Moreover, the written records are returned by queries in the app and can also be fetched successfully by CKRecordID. The account logged into CloudKit is an Admin for the particular development account that owns the CK container. Is there anything else that we may have missed?

Many thanks,

Stephane

It appears that I misinterpreted what what [CKContainer defaultContainer] does. I was expecting defaultContainer to be returning the first element in the iCloud container list in entitlements, which we had specified as a custom container in XCode. However, defaultContainer returns iCloud.$(bundleIdentifier), regardless of the entitlements settings. Records were showing up fine, just in another container.


A follow up question would be, is it possible to get at the first container's identifier in the entitlements or do we need to hardcode this in our app?


Thanks,

Stephane

If you have multiple containers and you're trying to access specific containers, it's probably best to be specific in your app. This would be a good enhancement request to make at bugreport.apple.com, though.

CloudKit records not showing on Dashboard?
 
 
Q