I am getting following error when I try to edit any file in my project.
ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-943/Framework/Classes/
Read-only source/plist/project files had been the root cause for the same problem with my Xcode. You may just verify that all files in your project folder are writable.