Hello.
I recently released a new version (2.6)
of my CloudKit syncing CoreData based app.
The new version uses v18
of my data model. V18
is exactly like v17,
except for a new optional string field in one of the entities. I diffed the two model versions to be extra sure.
During my test I did not encounter any crash, and I also tested automatic migration, installing 2.55 and building 2.6 on top of it. No troubles.
However my crash logger reports a number of crashes among my users. It's not a huge numbers (10 users over about 900 or more) but I am surprised it crashes at all. The crash happens when I call NSPersistentCloudKitContainer.loadPersistentStores, I get this error in the completion block:
The model used to open the store is incompatible with the one used to create the store"
I always assumed these slight changes (new field added to an existing model) did not require a manual migration.
Any suggestions?