Re: Incompatible managed object model versions
Re: Incompatible managed object model versions
- Subject: Re: Incompatible managed object model versions
- From: Kyle Sluder <email@hidden>
- Date: Thu, 18 Jun 2009 18:27:16 -0700
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
_______________________________________________
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