cannot be opened because the project file canno...

Sometimes,if you use some tools,such as git,svn,etc to manage the code with your team,you will catch the error like this when you double click,want to open the Xcode project: git

XXXX(this is your project name) can not be opened because the project file can not be parsed. xcode

It will make you confused,how this issue occur? app

The reason is caused by the code manage tool.For example,I use git to manage the code,if your teammates has done a new push to git,and you didn't fetch/pull them,then you do add,commit,push,you will get a error from terminal,it remind you to pull the new push from your teammates and then push your update to git.You also do according the terminal's info. svn

Not any issue!!!How happy I am~ But then you want to double click the project to open it,it failed! fetch

Now please follow me to fix this issue: this

find the file extension is "xcodeproj",then right click on the file,select the menu item "Show Package Contents",find the file extension is "pbxproj",then search "<<<<" or "====" or ">>>>",then delete the lines include these characters,then save the change.The back to the folder of your project,try open the project again. spa

NOTICE:Git and SVN will has some little difference,but both will include the ">>>>","====","<<<<",SVN will use ".mine" and Git will use "head". code

Yes,truly no issue. rem

If you still have any issue,please look here: terminal

http://stackoverflow.com/questions/361799/xcode-unable-to-open-project-cannot-be-opened-because-the-project-file-canno

Thanks,

Blues

相關文章
相關標籤/搜索