Klas Zetterlund Klas Zetterlund - 1 year ago 311
Swift Question

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."

There is a file called
in the folder
, 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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download