How to debug Core Data iCloud sync issue in production?

My app uses NSPersistentCloudKitContainer to sync Core Data objects among users' devices, and has been doing so successfully for about a year now. My issue is I can't find any way to debug when I have a specific user that is experiencing sync issues.

I have had the user try every trick that I know of to resolve it but have had no luck.

I have tried everything in the CloudKit dashboard, but no logs appear whatsoever. Anyone have any tips here?

Replies

Hi @imtherb91, did you ever get a good answer for this. I am working on an app, that syncs fine to macOS and iPadOS, but for some reason the data doesn't seem to sync well to iOS. On my test machines, I have ensured all devices are using the same iCloud account. So what I am trying to figure out is how to debug this.