Re: Core Data completely unable to find the source object model for migration
Re: Core Data completely unable to find the source object model for migration
- Subject: Re: Core Data completely unable to find the source object model for migration
- From: mmalc Crawford <email@hidden>
- Date: Wed, 05 Aug 2009 09:06:31 -0700
On Aug 4, 2009, at 11:20 PM, Matteo Manferdini wrote:
I created a mapping model and
called addPersistentStoreWithType:configuration:URL:options:error:
with the NSMigratePersistentStoresAutomaticallyOption option.
Did you create a mapping model?
If not, did you specify the NSInferMappingModelAutomaticallyOption
option?
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES],
NSMigratePersistentStoresAutomaticallyOption,
[NSNumber numberWithBool:YES],
NSInferMappingModelAutomaticallyOption, nil];
mmalc
_______________________________________________
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