Xcode Project file git merge conflict

前端 未结 8 1426
萌比男神i
萌比男神i 2021-01-31 03:28

In Xcode, what\'s the best way to avoid Git conflict in the project file? (I am in manual git, not using Xcode interface for git)

I\'ve cloned mapbox-ios-sdk from Github

8条回答
  •  孤独总比滥情好
    2021-01-31 03:56

    A lot of websites simply suggest to use a .gitattributes file with:

    *.pbxproj merge=union

    We're gonna try this approach before trying to use scripts. If we find any issues I'll be sure to update this post. Also if anyone else has comments to this approach please include.

提交回复
热议问题