cannot be opened because the project file canno...
2019独角兽企业重金招聘Python工程师标准>>>
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:
XXXX(this is your project name) can not be opened because the project file can not be parsed.
It will make you confused,how this issue occur?
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.
Not any issue!!!How happy I am~ But then you want to double click the project to open it,it failed!
Now please follow me to fix this issue:
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.
NOTICE:Git and SVN will has some little difference,but both will include the “>>>>”,”====”,”<<<<”,SVN will use “.mine” and Git will use “head”.
Yes,truly no issue.
If you still have any issue,please look here:
http://stackoverflow.com/questions/361799/xcode-unable-to-open-project-cannot-be-opened-because-the-project-file-canno
Thanks,
Blues
转载于//my.oschina.net/u/913344/blog/121826
还没有评论,来说两句吧...