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

来源:互联网 发布:excel数据对比分析 编辑:程序博客网 时间:2024/05/16 15:57

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

 

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

 会出现这样的冲突消息


<<<<<<< .mine

                3D52FCFF17F03405009C85DA /* teyue_dialog@2x.png in Resources */,

                3D52FD0117F043A0009C85DA /* teyue_time_line@2x.png in Resources */,

                3D52FD0317F0469D009C85DA /* teyue_bottom_gray_bg@2x.png in Resources */,

                3D52FD0517F04C3C009C85DA /* teyue_commentButton_bg@2x.png in Resources */,

                3D52FD0917F05165009C85DA /* like_button_bg@2x.png in Resources */,

                3D52FD0A17F05165009C85DA /* like_button_clicked@2x.png in Resources */,

                3D52FD0B17F05165009C85DA /* like_button_unclicked@2x.png in Resources */,

                3D04AE0317F129DD00680AD3 /* teyue_arrow@2x.png in Resources */,

=======

                5F1EA28C17F0484900534D68 /* RMRecordViewController.xib in Resources */,

>>>>>>> .r70


 解决方法:

1.对.xcodeproj 文件右键,显示包内容

2.双击打开 project.pbxproj 文件

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

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

5.保存,退出

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


0 0
原创粉丝点击