iCloud sync doesn't work in production.

I'm using CoreData+CloudKit. It works fine in development, so I deployed to production. But I cannot see the data in CloudKit DataBase in a testflight version. I don't know where I missed.

Can I just run in Release mode to check it works?

Just to make sure, when you say you deployed to production, are you referring to deploying the Schema changes in CloudKit? When using CoreData+CloudKit, you must deploy your schema once you're ready for production. Go to the CloudKit console, look for Deploy Schema Changes, and click on it.

iCloud sync doesn't work in production.
 
 
Q