iPhone Dev - Project.pbxproj有多重要? [英] iPhone Dev - How important is Project.pbxproj?

查看:108
本文介绍了iPhone Dev - Project.pbxproj有多重要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个文件是什么,它保持它正确有多重要?



我见过人写脚本只是合并任何处理它的改变,我听说过其他每次手动合并。



什么是正确的方式来处理它,为什么?

解决方案

project.pbxproj包含Xcode使用的项目的所有元数据建立它;设置,文件引用,配置,目标平台等等。

I。这是至关重要的。

真的没有一个好的答案。通常情况下,团队会通过将项目的编辑限制在一个团队成员身上来避免冲突。

Xcode团队花费了大量精力来完成文件合并 - 友善。在通过svn管理几个大型项目时,我通常发现合并是自动的和无痛的。



直到它们不是。如果不是这样,请回复,手动合并更改(即对发生冲突的项目进行更改),然后继续。


What does this file hold and how important is it to keep it "correct"?

I've seen people write scripts to just merge any change dealing with it and I've heard others merging it manually every time.

What is the correct way to handle it and why?

解决方案

The project.pbxproj contains all of the metadata about your project that Xcode uses to build it; the settings, the file references, configuration, targeted platforms, etc...

I.e. it is a critically important.

There really isn't a great answer for this. Typically, teams will avoid conflict by limiting edits to the project to one team member at a time.

The Xcode team has put a lot of effort into making the file merge-friendly. In managing several large projects via svn, I've generally found that the merges are automatic and painless.

Until they aren't. And when they aren't, revert, merge changes by hand (i.e. make the changes in the project that conflicted), and move on.

这篇关于iPhone Dev - Project.pbxproj有多重要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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