How to completely delete entity description in the Core Data Model editor in Xcode 4.4.1

Viewed 5089

How to completely delete entity description in the Core Data Model editor in Xcode 4.4.1 ? There is only "Add entity" button exist in the user interface.

3 Answers

In case it crashes when you try to delete it. Try this:

  1. right click on the .xcdatamodel file
  2. click "show in finder"
  3. right click and "show package contents"
  4. open file "contents" which is XML and delete the entity you don't want any more.

I've got a crash when trying to delete Entity by highlighting and pressing backspace.

Solution in my case was to open .xcodeproj instead of .xcworkspace just for this operation and Entity was removed with success.

Related