|
今天做项目的时候突然遇到这样的问题:Project /Users/yanhuachen/Documents/GreateDragenPad/GreateDragenPad.xcodeproj cannot be openedbecause the project file cannot be parsed
原因如下:
因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件。
Project /Users/yanhuachen/Documents/GreateDragenPad/GreateDragenPad.xcodeproj cannot be opened becau
会出现这样的冲突消息
-
<<<<<<<.mine
-
9ADAAC6A15DCEF6A0019ACA8....inResources*/,
-
=======
-
52FD7F3D15DCEAEF009E9322...inResources*/,
-
>>>>>>>.r269
解决方法:1.对.xcodeproj 文件右键,显示包内容
2.双击打开project.pbxproj 文件
3.找到以上类似的冲突信息(可以用commad + f 搜索)
4.删除 <<<<<<<,======,>>>>>>这些行
5.保存,退出
6.重新打开.xcodeproj文件即可 |