Re: Incompatible CoreData store format
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