• 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 CoreData store format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incompatible CoreData store format


  • Subject: Re: Incompatible CoreData store format
  • From: Ben Trumbull <email@hidden>
  • Date: Wed, 28 May 2008 18:13:53 -0700

Rick,

Try cleaning all the targets and rebuilding the entire project. Create a new document instead of opening an existing one. You're probably either getting an old model, a weird union of models, or a corrupted model from previous work.

If that doesn't help, you can try adding the document's store to the NSPersistentStoreCoordinator yourself, and grab the NSError. You'll want the data in the NSError's userInfo.

You can compare the store's metadata with the NSManagedObjectModel's version hashes.

You can use fs_usage to see what files are being opened, in case you've accidentally imported, say, iCal's .mom file.
--


-Ben
_______________________________________________

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


  • Prev by Date: DO woes
  • Next by Date: Re: SOLVED: Incompatible CoreData store format
  • Previous by thread: Re: SOLVED: Incompatible CoreData store format
  • Next by thread: DO woes
  • Index(es):
    • Date
    • Thread