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: Thu, 06 Aug 2009 15:27:57 -0700
On Aug 6, 2009, at 10:37 AM, Matteo Manferdini wrote:
What I discovered is that in the first case the hashes are the same
for the model and the store, while in the second case the model has
lost a lot of metadata in the versioning process. Along with my
entities there are also other entities listed in the hashes (to name a
few: CalDAVCalendar, CalendarChangeRequest, LocalGroup, etc). These
entities hashes are lost in the versioned model, while my entities
hashes remain the same.
Any idea of why this is happening? It seems to me that this is an
XCode bug.
It's unlikely to be a bug.
When you merge your models at runtime, you're including models from
other frameworks. Make sure you only include your app's model by
specifying the main bundle in mergedModelFromBundles:...
Which OS version are you using?
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