二.用git跟新項目後,Xcode工程文件打不開:cannot be opened because the project file cannot be parsed

1. 解決方法:git

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

   由於.xcodeproj工程文件衝突了,而後仍是會強制更新,內部文件出現了衝突,因此解析不了文件。svn

 解決方法:code

    1.對.xcodeproj 文件右鍵,顯示包內容it

    2.雙擊打開 project.pbxproj 文件sed

    3.找到以上相似的衝突信息(能夠用commad + f 搜索)file

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

    5.保存,退出方法

    6.從新打開.xcodeproj文件便可文件

相關文章
相關標籤/搜索