I'm seeing these errors in the console when calling ModelContainer(for:migrationPlan:configurations) for iOS 18:
error: Attempting to retrieve an NSManagedObjectModel version checksum while the model is still editable. This may result in an unstable verison checksum. Add model to NSPersistentStoreCoordinator and try again.
CoreData: error: Attempting to retrieve an NSManagedObjectModel version checksum while the model is still editable. This may result in an unstable verison checksum. Add model to NSPersistentStoreCoordinator and try again.
Is this anything to be concerned about?
(Side note: "version" is misspelled in "verison checksum")
Thanks for your info, @Ghostwalk. I reproduced the error – As the message says, it is triggered because SwiftData needs to access the version checksum before the model is loaded to the Core Data stack. I am pretty sure that has no harm on apps. Meanwhile, I don't see anything apps can do to eliminate it, and so would suggest that you file a feedback report to hopefully get attentions from the SwiftData team – If you do so, please your report ID here for folks to track. Thanks.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.