iosxcode

Xcode, Cannot read bundle contents (Error Domain=NSCocoaErrorDomain Code=260


I am at my wits end. I've been messing around trying to change the name of my iphone-app and have apparently broken something. When I try to build I get the error message

/Users/john/Desktop/ubernerds/fardig/renrakat.xcdatamodeld: Cannot read bundle contents (Error Domain=NSCocoaErrorDomain Code=260 "The folder “renrakat.xcdatamodeld” doesn’t exist." UserInfo={NSFilePath=/Users/john/Desktop/ubernerds/fardig/renrakat.xcdatamodeld, NSUserStringVariant

There is a file called renrakat.xcdatamodeld in the folder fardigt, so what could be the problem? When I start my backup copy (made before I started making dumb changes) I get the same error when I try to build

Please help!

I'm running xcode 7.1.1


Solution

  • When I ran the /Users/john/Desktop/ubernerds/fardig/renrakat.xcdatamodeld/ ] && echo "File exists" || echo "File do not exitsts" in the terminal I ofund that the file was indeed in the wrong folder. Moved it and everything worked fine