• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Incompatible managed object model versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Incompatible managed object model versions
      • From: Lynn Barton <email@hidden>
References: 
 >Incompatible managed object model versions (From: Lynn Barton <email@hidden>)

  • Prev by Date: Re: MDSchemaCopyAllAttributes() returning nil
  • Next by Date: Re: How to fill rectangle under vertical scroller?
  • Previous by thread: Incompatible managed object model versions
  • Next by thread: Re: Incompatible managed object model versions
  • Index(es):
    • Date
    • Thread