`
chriszeng87
  • 浏览: 718028 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Xcode 工程文件打开不出来, cannot be opened because the project

    博客分类:
  • iOS
阅读更多

Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed. 

 

git更新代码后,打开xcode工程文件,会出现  xxx..xcodeproj  cannot be opened because the project file cannot be parsed.

 

因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件。

 

会出现这样的冲突消息

<<<<<<< .mine 9ADAAC6A15DCEF6A0019ACA8 .... in Resources */, ======= 52FD7F3D15DCEAEF009E9322 ... in Resources */, >>>>>>> .r269


解决方法:1.对.xcodeproj 文件右键,显示包内容

    2.双击打开 project.pbxproj 文件

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

    4.删除 <<<<<<<,======,>>>>>>这些行

    5.保存,退出

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

 

 转自:http://blog.sina.com.cn/s/blog_62b5fba00101af2c.html

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics