iPhone Dev - How important is Project.pbxproj?

前端 未结 2 536
刺人心
刺人心 2020-12-29 06:28

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 oth

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-29 07:14

    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.

提交回复
热议问题