Problems with IO in latest version of xcode
By mrcarlis at Mon, Nov 30 2009 7:33am |
Hi
I got a new mac and snow leopard a while ago. I have some problems with reading and writing in xcode. Essentially, when I run code in xcode, it will not write to file. Also, I have sporadic problems reading files when running in xcode.
These problems do not occur when I compile and run in terminal, and did not occur on my leopard system with identical code.
I need this to run in xcode to be able to use breakpoints etc. Does anyone have a clue?
Best regards
Carlis




chmod the files, join mail list
hi-
Xcode checks for privileges before writing to protect you.
launch Terminal, cd to your project (or your home directory) then:
cd ..
sudo chown -R account_name:staff account_name
sudo chmod -R u+rwX account_name
where account_name is your short user name.
also, join this mail list:
xcode-users list
see:
http://lists.apple.com/mailman/listinfo
Great, thanks!
Great,
thanks!