Should I git ignore xcodeproject/project.pbxproj file?

后端 未结 7 1753
广开言路
广开言路 2020-12-04 11:11

in a XCode project, I offen got xcodeproject/project.pbxproj file changed, but useless info for me, it for compile.

Should I git ignore this file and xcodeproject/pr

7条回答
  •  自闭症患者
    2020-12-04 11:42

    You can use Xcodegen to generate a pbxproj out of a YAML project specification file then you can ignore pbxproj in git and generate them every time you need.

    I have already used Xcodegen on a second project which has a modular architecture (many pbxprojs) and more then 8 developers is working on it.

    https://github.com/yonaskolb/XcodeGen

    Hope it helps.

提交回复
热议问题