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.
精彩评论