I am developing an App using CoreData & CloudKit (NSPersistentCloudKitContainer).
I am working on an App Update which includes an Update to the
CoreData Model. I have created a newModel Versionand applied the Changes (including new Properties & Relationships as well as Renaming of Entities & Properties). For Renaming I set theRenaming IDto the old Entity- / Property-Name. These Changes should be supported byLightweight-Migration.
Questions
- Is there anything else I have to consider when updating a
CoreData Modelor did I cover all? - What about the CloudKit Synchronization? How does CloudKit handle the
CoreData ModelUpdate? - I read about adding this Method (
initializeCloudKitSchemaWithOptions) duringDevelopmentand removing it when deploying toProduction. What does this Method do?
Thanks a lot for your help in Advance. This is quiet a huge Update and the App does have an existing Userbase, so Migration-Problems are no Option;)