Perhaps there is an elegant way, but this also works: Make a new model in Xcode. Close the project. Open the packages of the old and new models in the Finder (Show Package Contents of the .xcdatamodel packages inside the .xcdatamodeld package). Copy the ‘contents’ file of the old package into the new.
On Feb 10, 2014, at 11:15 PM, Rick Mann <rm...@latencyzero.com> wrote: > I decided to write the newest version of an iOS app from scratch, copying and > pasting big chunks of code from the old project. > > In the new app I added a copy of the old app's Core Data model, and proceeded > to modify it. Unfortunately, I didn't first make a new version. I'd like to > add the old model in again as an older version that it can use for > lightweight migration, but I can't figure out how. Editor->Import… doesn't > allow me to choose a model file (nor can I find help on the feature). > > I tried adding a new version to make the .xcdatamodeld, but I can't drag the > old file into that. Dragging it to the package in the Finder doesn't seem to > help, either. > > Is there any way to do this? > > Thanks, > > -- > Rick > > > > _______________________________________________ > > 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/dave.fernandes%40utoronto.ca > > This email sent to dave.fernan...@utoronto.ca _______________________________________________ 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