开发者

Core Data, i cannot open my .xcdatamodel, which is red

开发者 https://www.devze.com 2023-01-28 18:38 出处:网络
I have b开发者_Python百科een running tests towards a Core Data model (SQLite3). I now need to do some minor changes in the .xcdatamodel but it is red in XCODE and i cannot open it. I also deleted the

I have b开发者_Python百科een running tests towards a Core Data model (SQLite3). I now need to do some minor changes in the .xcdatamodel but it is red in XCODE and i cannot open it. I also deleted the sqlite2 database but that did not help.

Anyone that could give me a hint why this is and how i can do the changes?


Red indicates the file is missing (or XCode is looking in the wrong place for it). Have a look in your project folder to see if the file is around somewhere. If not, you'll need to restore from a backup or recreate it.

If you can find it, copy it into your project folder (if necessary) then select the file, choose Get Info from the File Menu, click the Choose button next to "Path:" and locate it, and you should be set.

0

精彩评论

暂无评论...
验证码 换一张
取 消