I have integrated CloudKit into a CoreData application and am ready to deploy the schema to production but keep getting an "internal error" when trying to deploy to production or reset my CloudKit environment. I have attached images of what I am seeing including one of the console error. Is there any way to resolve this?
Persistent CloudKit Internal Error
Since the error happens in CloudKit Console, and is nothing related to your code, I'd suggest that you file a feedback report for the CloudKit Console folks to investigate – If you do so, please share your report ID here for folks to track.
For a workaround, if you create and use a brand new CloudKit container, will the error still happen? If not, it may be that the old container ran into a bad situation, and you can continue your development with the new container.
If a new container doesn't work either, I'd be wondering if something in your CloudKit schema triggers the issue. I don't know how complicated your schema is, but for debugging purpose, you can start with a simpler schema that can be successfully deployed, and then incrementally add new record types or fields to eventually figure out what triggers the issue.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.