zoukankan      html  css  js  c++  java
  • 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工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件。

     会出现这样的冲突消息

    <<<<<<< .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文件即可

  • 相关阅读:
    设计模式六大原则【转】
    2进制中1的个数
    最大子数组和
    八皇后问题
    读取tomcat下的文件夹路径
    <![CDATA[ ]]>
    数据库(第一范式,第二范式,第三范式)
    input设置disabled,经过strus2提交到后台,后台取不到值
    下载项目乱码
    jsp与Action值得对应
  • 原文地址:https://www.cnblogs.com/benbenzhu/p/3337233.html
Copyright © 2011-2022 走看看