I use xcode 3.2.4 on snow leopard. Today when I tried to save a file on my project I get an error message saying: The document \"nameOfFile.m\" could not be saved. I tried reins
Another possible reason is that the file you are trying to modify is an alias (i.e. a soft link).
alias
You will have to modify the source file directly in this case.