Post

Replies

Boosts

Views

Activity

Reply to Core Data Migration
More info: The issue happened when I added an attribute in an entity. And also happened when adding an entity to the same model. The code I'm using to add the persistent store is: try persistentCoordinator.addPersistentStore(ofType: NSInMemoryStoreType, configurationName: "InMemoryStore", at: nil, options: myOptions) try persistentCoordinator.addPersistentStore(ofType: NSSQLiteStoreType, configurationName: "PersistentStore", at: myGroupURL, options: myOptions) In case it fails, I delete the DB and recreate it.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24