PDA

View Full Version : Xcode: "Unknown Error. Failed to Save."




TheBritishBloke
Dec 9, 2011, 02:08 PM
I'm continually getting this error whenever I open up a project in Xcode or when I close a project. Anybody had any similar problems? I've tried a fresh install from the Mac App Store and only using a freshly made project file.

I also sometimes get "The file 'main.cpp' is locked and cannot be saved", even though the file isn't locked.



LostSoul80
Dec 9, 2011, 02:10 PM
Do you have the write privilege for the directory of the project?

TheBritishBloke
Dec 9, 2011, 02:12 PM
Do you have the write privilege for the directory of the project?

Read & Write has been set for everything and all enclosing folders for everything even remotely close to where it's being saved (My Home Folder > Documents)

chown33
Dec 9, 2011, 03:38 PM
Read & Write has been set for everything and all enclosing folders for everything even remotely close to where it's being saved (My Home Folder > Documents)

Is the folder locked? Locked takes precedence over having write permission.

Try this command in Terminal.app (copy and paste it):
ls -lOR ~/Documents | grep chg
Post any output.

TheBritishBloke
Dec 11, 2011, 07:55 AM
Is the folder locked? Locked takes precedence over having write permission.

Try this command in Terminal.app (copy and paste it):
ls -lOR ~/Documents | grep chg
Post any output.

Didn't get any output, and still getting the same error.