Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 9, 2011, 02:08 PM   #1
TheBritishBloke
macrumors 68030
 
TheBritishBloke's Avatar
 
Join Date: Jul 2009
Location: United Kingdom
Xcode: "Unknown Error. Failed to Save."

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.
TheBritishBloke is offline   0 Reply With Quote
Old Dec 9, 2011, 02:10 PM   #2
LostSoul80
macrumors 68000
 
LostSoul80's Avatar
 
Join Date: Jan 2009
Do you have the write privilege for the directory of the project?
__________________
Automatic Fans: UltraFan
LostSoul80 is offline   0 Reply With Quote
Old Dec 9, 2011, 02:12 PM   #3
TheBritishBloke
Thread Starter
macrumors 68030
 
TheBritishBloke's Avatar
 
Join Date: Jul 2009
Location: United Kingdom
Quote:
Originally Posted by LostSoul80 View Post
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)
TheBritishBloke is offline   0 Reply With Quote
Old Dec 9, 2011, 03:38 PM   #4
chown33
macrumors 603
 
Join Date: Aug 2009
Quote:
Originally Posted by TheBritishBloke View Post
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):
Code:
ls -lOR ~/Documents | grep chg
Post any output.
chown33 is offline   0 Reply With Quote
Old Dec 11, 2011, 07:55 AM   #5
TheBritishBloke
Thread Starter
macrumors 68030
 
TheBritishBloke's Avatar
 
Join Date: Jul 2009
Location: United Kingdom
Quote:
Originally Posted by chown33 View Post
Is the folder locked? Locked takes precedence over having write permission.

Try this command in Terminal.app (copy and paste it):
Code:
ls -lOR ~/Documents | grep chg
Post any output.
Didn't get any output, and still getting the same error.
TheBritishBloke is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Attempting to copy to the disk iPod failed. An unknown error occurred (-39) schmidt65 iPod 4 Jan 9, 2014 06:31 AM
Upgrading to Mavericks "Unknown Error (4)" jahall05 OS X Mavericks (10.9) 3 Oct 22, 2013 10:44 PM
Resolved: Xcode 5: Mac App Store said "An error occurred." moonman239 iPhone/iPad Programming 1 Sep 18, 2013 06:10 PM
iPhone: App Store "Unknown error" Zmanbaseball2 Jailbreaks and iOS Hacks 0 Mar 3, 2013 09:15 AM
DL DVD+R "Failed to Burn...Medium Write Error" KyleMacs MacBook Pro 1 Jun 13, 2012 11:49 AM

Forum Jump

All times are GMT -5. The time now is 11:53 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC