[NSPersistentCloudKitContainer] CloudKit integration forbids renaming 'OldEntityName' to 'NewEntityName'. Older devices can't process the new records. How to proceed?

I used a renaming identifier to rename an Entity Name, but it doesn't seem to work and it causes a crash at start during in-place migration.
How to rename an Entity Name when using NSPersistentCloudKitContainer?

I get this exception at start:

CloudKit integration forbids renaming 'OldEntityName' to 'NewEntityName'. Older devices can't process the new records.

Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 "An error occurred during persistent store migration."

App is not in production, need a way to rename 'OldEntityName' to 'NewEntityName'. How to achieve this?
Post not yet marked as solved Up vote post of agilemind Down vote post of agilemind
619 views

Replies

Did you find a solution to this? I am facing the same issue now. I have not yet deployed my CloudKit schema to production, so I am hoping to rename an entity before I do so.