Hi everybody, I'm trying to run core data migration on the store of my app but it seems to be unable to find the source object model no matter what. I tried different approaches, taking some hints by some results I found on google, but without success. This is what I tried:
Note, this is a non document based applicaiton - First I tried following the guide on Core Data Versioning and Migration to do it automatically. I created a new version of the model and set it as the current version. I created a mapping model and called addPersistentStoreWithType:configuration:URL:options:error: with the NSMigratePersistentStoresAutomaticallyOption option. The method returned this error: "missing source managed object model". I tried to point directly to the momd directory instead of using mergedModelFromBundles:. I tried to compile the two models as top level resources (flagging them in XCode and even moving them outside the .xcdatamodeld directory). No way. Obviously I clean all targets each time. _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com