Hello!
I was working on a project and the simulator was working fine earlier today but now whenever I run it I get the following fatal error in the PersistenceController:
Fatal error: Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 “An error occurred during persistent store migration.”
reason=Cannot migrate store in-place: Validation error missing attribute values on mandatory destination attribute, destinationURL=fil
One thing I know I was doing was making changes to attribute names and types within the managed object subclasses, so in case that caused the problem I deleted those class files and then recreated them, but that didn’t seem to help.
I tried restarting Xcode and my computer, cleaning the build folder, and deleting derived data but I’m still getting the error. Could you tell me what usually causes this and what I could do to fix it?
Thanks!