I was looking at an open source Mac application, and they gave some suggested values for .gitignore. They were what I would expect...
However, they also suggested an
I wrote a python script named xUnique to solve this merge conflicts problem.
This script do following things:
UUID
to project-wide unique 32 chars MD5 digests, and remove any unused UUIDs(usually caused by careless merge before). This would prevent duplicate UUIDs because different machines/Xcode generate different UUIDs in this file. Xcode does recognize it and the project could be opened. During this process, remove all invalid lines in project filePBXFileReference
and PBXBuildFile
sectionsMore details and updates of xUnique, please refer to README