Xcode: Unable to open project... cannot be opened because the project file cannot be parsed...

Posted by Chris Butler on Stack Overflow See other posts from Stack Overflow or by Chris Butler
Published on 2008-12-12T03:32:35Z Indexed on 2010/04/26 13:23 UTC
Read the original article Hit count: 1126

Filed under:
|

Hi everyone.

I have been working for a while to create an iPhone app. Today when my battery was low, I was working and constantly saving my source files then the power went out...

Now when I plugged my computer back in and it is getting good power I try to open my project file and I get an error:

"Unable to Open Project

Project ... cannot be opened because the project file cannot be parsed."

Is there a way that people know of that I can recover from this? I tried using an older project file and re inserting it and then compiling. It gives me a funky error which is probably because it isn't finding all the files it wants...

I really don't want to rebuild my project from scratch if possible.

Thanks in advance.

EDIT

Ok, I did a diff between this and a slightly older project file that worked and saw that there was some corruption in the file. After merging them (the good and newest parts) it is now working.

Great points about the SVN. I have one, but there has been some funkiness trying to sync XCode with it. I'll definitely spend more time with it now... ;-)

Thanks for everyone's comments and suggestions.

© Stack Overflow or respective owner

Related posts about xcode

Related posts about iphone