Converting a Managed Object Model to Use Versioning
- Steps
In the project navigator, select the managed object model.
Choose Editor > Convert to Versioned Model.
In the dialog, choose a name for the model, and if necessary choose the group and target for the model.
Click Save.

Convert a managed object model to use versioning when you need to change the schema in an application you have already released. To convert existing persistent stores to the new schema, use Core Data’s migration feature—see the definitive discussion for information on migration.
Xcode automatically creates two versions of the model, both with the same schema as the original. One version is named Filename 2.xcdatamodel and is set as the current version. Core Data ignores the name of the model, so you can use your own naming scheme to keep track of revision numbers.
If you are using a source version control system such as Subversion, ensure that the old model file is removed from your repository, and the new model directory and files are added to your repository.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-01-09)