简体   繁体   English

Xcode Git Merge project.pbxproj文件

[英]Xcode Git Merge project.pbxproj file

I have 264 conflicts in my project.pbxproj file when I'm merging two local branches in Xcode. 当我在Xcode中合并两个本地分支时,project.pbxproj文件中存在264个冲突。 I tried my best to merge them but for some conflicts I cannot even see the drop down button to select left or right because there are just too many different parts. 我尽力将它们合并,但是对于某些冲突,我什至看不到下拉按钮来选择左或右,因为有太多不同的部分。 What should I do? 我该怎么办?

在此处输入图片说明

使用其版本的xcodeproj,然后手动添加您需要的所有内容。

Do not attempt to resolve the conflicts in this multicolumn display (which is basically Apple's own FileMerge application). 不要尝试解决此多列显示(基本上是Apple自己的FileMerge应用程序)中的冲突。 It just can't handle this big a situation. 它根本无法应付这么大的情况。

Instead, since a file with merge errors is just a normal text file with a bunch of very obvious markup showing what the problems are, open the file as text and resolve those errors manually in a text editor (such as BBEdit). 相反,由于带有合并错误的文件只是带有多个非常明显的标记(显示问题所在)的普通文本文件,因此请以文本形式打开文件,然后在文本编辑器(如BBEdit)中手动解决这些错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM