I'm trying to do a custom core data migration, but I'm running into an issue getting the model for the older data:
NSDictionary* metadata = [NSPersistentStoreCoordinator metadataForPersistentStoreOfType: NSSQLiteStoreType URL: storeURL error: &err]; NSManagedObjectModel* sourceModel = [NSManagedObjectModel mergedModelFromBundles: nil forStoreMetadata: metadata]; metadata is valid, but sourceModel is nil. I have several versions of the same model in my (iOS) app. According to the docs, passing nil here is the right thing to do. Any ideas? Thanks! -- Rick Mann rm...@latencyzero.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com