Reputation: 11
I am learning to work with core data. But why did I get such an error?
edit: the problem was due to my renaming "Entity". It's fixed
Upvotes: 0
Views: 74
Reputation: 4016
You might have changed the Core Data model (names or types of the attributes) after populating it with some data. Xcode could not be able to migrate the existing data from the old model to the new one.
You can try re-creating the model from scratch (deleting the whole Entity) if you don’t mind losing the existing data.
Upvotes: 2