Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.7 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.7 KB

Solving merge conflicts in Xcode projects

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: https://www.youtube.com/watch?v=fDRIK7XA5tk

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: