sam18
sam18

Reputation: 641

xcode: missing file xcdatamodeld after changing the path of file

I added a data model to my project and found a bundle users.xcdatamodeld in my project directory. after that I moved under a sub directory of the project. also moved physically. and after that when I compiled, xcode shows missing file error.

Any help on this will be thankful.

Upvotes: 0

Views: 1134

Answers (1)

Connor
Connor

Reputation: 64644

Delete the file from the file list in xcode (it should be in red text) then go to add File->Add File to "Project" and add the file back to your project.

Upvotes: 2

Related Questions