Re: Incompatible managed object model versions
Re: Incompatible managed object model versions
- Subject: Re: Incompatible managed object model versions
- From: Lynn Barton <email@hidden>
- Date: Thu, 18 Jun 2009 20:44:45 -0700
On Jun 18, 2009, at 6:27 PM, Kyle Sluder wrote:
On Thu, Jun 18, 2009 at 6:19 PM, Lynn Barton<email@hidden>
wrote:
I don't think that I saved any data while testing the app, but
perhaps I
did. Please help me rescue this application.
This message means that the managed object model changed. Rather than
lossily loading pieces of the persistent store, Core Data simply
refuses to load persistent stores that contain managed objects whose
entities are different or nonexistent in the managed object model.
You'll need to revert your managed object model, and if you want to
continue using your data set you'll need to write a mapping model:
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreDataVersioning/Introduction/Introduction.html
Hopefully you're following best practices and have a known working
managed object model in your version control system.
--Kyle Sluder
Thanks, Kyle. I would like to try just deleting the existing
persistent store and letting a new one be created based on the current
model. Where would I find the existing persistent store?
Lynn Barton
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden