如何在Xcode中使用svn合并冲突(文件project.pbxproj)? [英] How to merge conflicts (file project.pbxproj) in Xcode use svn?

查看:197
本文介绍了如何在Xcode中使用svn合并冲突(文件project.pbxproj)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们团队中有两名成员。我们使用Xcode的SCM(使用SVN)来管理我们的源代码文件。

我们都将文件添加到我们的Xcode项目中。他已经致力于SVN服务器。当我更新时,Xcode发现 project.pbxproj 文件中存在冲突。然后我选择退出 Xcode 并手动合并冲突。然后我开始编辑我的 project.pbxproj ,合并我们的更改。实际上我不知道Xcode如何管理文件,我只是添加一些我的 project.pbxproj 文件没有的文本。当我完成时,我的项目无法打开。我猜是因为 project.pbxproj 文件无法通过手动编辑。

There are two members in our team. We use Xcode's SCM (use SVN) to manger our source code files.
We all add files to our Xcode project. He has committed to SVN server. When I update, Xcode find there has conflicts in project.pbxproj file. Then I select quit Xcode and manually merge the conflicts. Then I start to edit my project.pbxproj, merge our changes. Actually I don't know how Xcode manage files, I just add some text that my project.pbxproj file did't have. When I finish, my project can't open. I guess that because the project.pbxproj file can't be edit by manual.

所以,我想要知道,当你发现这个问题时,project.pbxproj文件有冲突,怎么解决呢?

So, I want to know, when you find this problem, the project.pbxproj file have conflicts, how to solve it?

谢谢!

推荐答案

不幸的是,除了在一次结账时手动进行更改然后再次办理登机手续外,您无能为力合并项目。

Unfortunately, there's not much you can do except to make the changes manually in one check out and then check-in the newly "merged" project.

这篇关于如何在Xcode中使用svn合并冲突(文件project.pbxproj)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆