How to delete an old/unused Data Model Version in Xcode -


how can delete old data model in xcode? option disabled on menu. (the models want delete have not been released public - interim development models.)

it's hack, worked me:

  1. set current version of model in xcode 1 want keep
  2. remove .xcdatamodeld project (right-click -> delete -> remove reference only)
  3. show contents of .xcdatamodeld package in finder (right-click -> show package contents)
  4. delete .xcdatamodel file(s) don't want anymore
  5. re-add .xcdatamodeld file project

this eliminates need manually modify of project metadata files.


Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -