• 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: 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


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

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