• 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: Core Data completely unable to find the source object model for migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Matteo Manferdini <email@hidden>
  • Date: Thu, 6 Aug 2009 19:37:36 +0200

To further investigate the matter, I logged the contents of both the
NSStoreModelVersionHashesKey dictionary from my store metadata and the
dictionary returned by the entityVersionHashesByName: method of my
source model. I did this both for my working app without versioning
and the not working one with versioning.

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.
Thank you.


Thank you very much.
Regards.

Matteo Manferdini
Pawn Software
www.pawn-soft.com
_______________________________________________

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: Core Data completely unable to find the source object model for migration
      • From: Adam Swift <email@hidden>
    • Re: Core Data completely unable to find the source object model for migration
      • From: mmalc Crawford <email@hidden>
References: 
 >Core Data completely unable to find the source object model for migration (From: Matteo Manferdini <email@hidden>)
 >Re: Core Data completely unable to find the source object model for migration (From: mmalc Crawford <email@hidden>)
 >Re: Core Data completely unable to find the source object model for migration (From: Matteo Manferdini <email@hidden>)

  • Prev by Date: Re: Design Question
  • Next by Date: Re: How to change to the smoother single-stage animation
  • Previous by thread: Re: Core Data completely unable to find the source object model for migration
  • Next by thread: Re: Core Data completely unable to find the source object model for migration
  • Index(es):
    • Date
    • Thread