Merging Xcode projects (FB7783835)

Whenever I work on an iOS project with multiple developers working in parallel, I tend to have to spend a lot of time manually merging Xcode project files because the 'xcodeproj' file format causes conflicts that cannot be merged automatically by common merge tools like 'git merge'.

I recorded a video showing what I mean and how I currently deal with these kind of conflicts (have a look at the readme of https://github.com/ralfebert/ExampleXcodeGitProject )

Steps to reproduce:
Better tooling support for merging changes would facilitate easier collaboration on Xcode projects.

I wish Xcode would have a simpler project file format that's more concise (like the Package.swift for Swift Package Manager libraries) or a tool that could be used with 'git mergetool' that could merge such changes with a semantic unterstanding of the file format.

Current workarounds for these issues:
Post not yet marked as solved Up vote post of ralf.ebert Down vote post of ralf.ebert
1.5k views