Xcode工程文件打不開:cannot be opened because the project file cannot be parsed


svn更新代碼后,打開xcode工程文件,會出現  xxx..xcodeproj  cannot be opened because the project file cannot be parsed.

因為.xcodeproj工程文件沖突了,然后還是會強制更新,內部文件出現了沖突,所以解析不了文件。

會出現這樣的沖突消息

  1. <<<<<<< .mine  
  2.     9ADAAC6A15DCEF6A0019ACA8 .... in Resources */,  
  3. =======  
  4.     52FD7F3D15DCEAEF009E9322 ... in Resources */,  
  5. >>>>>>> .r269  


解決方法:1.對.xcodeproj 文件右鍵,顯示包內容

    2.雙擊打開 project.pbxproj 文件

    3.找到以上類似的沖突信息(可以用commad + f 搜索)

    4.刪除 <<<<<<<,======,>>>>>>這些行

    5.保存,退出

    6.重新打開.xcodeproj文件即可

轉:http://blog.csdn.net/blucenong/article/details/8330894


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM