• 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 Lightweight Migration Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Lightweight Migration Woes


  • Subject: Re: Core Data Lightweight Migration Woes
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 20 Aug 2010 12:16:15 -0700

On Aug 20, 2010, at 11:48, Brad Gibbs wrote:

> - (NSManagedObjectModel *)managedObjectModel {

Here's what the lightweight migration documentation says:

> To perform a lightweight migration, Core Data needs to be able to find the source and destination managed object models itself at runtime. (Core Data searches the bundles returned by NSBundle’s allBundles andallFrameworks methods.)

(http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreDataVersioning/Articles/vmLightweight.html)

When I read this yesterday, I didn't pay any attention to the word "itself", but maybe it's important. Taken literally, it would suggest that you can't use lightweight migration if you're supplying the model yourself, and that Core Data must be able to find the model by its own bundle search. I don't think those conditions are met in your project.

A bug report with a simple project is probably your next step, to find out if this is a documentation bug, or a functional requirement.


_______________________________________________

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

References: 
 >Re: Core Data Lightweight Migration Woes (From: Steve Steinitz <email@hidden>)
 >Re: Core Data Lightweight Migration Woes (From: Jack Nutting <email@hidden>)

  • Prev by Date: Re: NSImageView and ZoomFactors
  • Next by Date: Re: Embedding a system preference pane
  • Previous by thread: Re: Core Data Lightweight Migration Woes
  • Next by thread: UIGestureRecognizer and CALayers
  • Index(es):
    • Date
    • Thread