Delete .xcdatamodel file from Xcode?

后端 未结 2 1632
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-04 01:39

I made a lightweight migration that I decided I don\'t want anymore. Is there any way to just delete the file? I\'ve already changed the current model version to the one befor

2条回答
  •  心在旅途
    2021-02-04 02:04

    This can also be done removing the .xcdatamodeld from the project (just removing, not deleting). Then, in Finder (or Terminal) deleting the offending .xcdatamodel file. And finally, reimporting the .xcdatamodeld in the project.

提交回复
热议问题