Re: Trying to custom-migrate core data

2014-07-18 Thread Rick Mann
Turns out, my model version for the older store had gotten modified. I restored that, but then I had to re-create the mapping file. After that, automatic migration picked it up and tried to use my policies! Onward and upward… On Jul 18, 2014, at 02:59 , Rick Mann wrote: > I'm trying to do a cu

Trying to custom-migrate core data

2014-07-18 Thread Rick Mann
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 = [N