Xcode SVN "The file can not be opened"

Xcode 工程文件使用 SVN更新后,出现了   "The file can not be opened"  错误


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


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


会出现这样的冲突消息:


Xcode SVN "The file can not be opened"_第1张图片


解决方法:

只要将上述代码中的红色部分删除即可成功打开工程!!!具体步骤如下:

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

     2.双击打开 project.pbxproj 文件

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

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

     5.保存,退出

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

你可能感兴趣的:(ios,xcode)