News for hackers. Stuff that matters.
Re:Designing GitHub for Mac by dolinsky on Tuesday June 28, 2011 @08:35PM (#2707957)
Could someone elaborate on the difficulties encountered managing branches of an iOS project in XCode using git?
Re:Designing GitHub for Mac by kneath on Tuesday June 28, 2011 @09:27PM (#2708063)
Xcode tracks files with an XML "project file." So if you add files in one branch and remove files in another branch, it often puts this project file into a conflicted state. Resolving conflicts in this file is really difficult — lots of confusing paths and SHAs all mixed together. If you don't resolve conflicts correctly, the entire project refuses to open.
Re:Designing GitHub for Mac by dolinsky on Tuesday June 28, 2011 @09:46PM (#2708103)
Thanks, that makes sense. Is it often that these conflicts arise during development on a team of 1-3 developers? I'm also assuming you're referring to the package contents of the .xproj file (specifically project.pbxproj), correct?
Re:Designing GitHub for Mac by xsmasher on Wednesday June 29, 2011 @12:49AM (#2708439)
I work on a project with 3 other devs; an xcode conflict is an "oh, bummer" moment, but not a hairpuller. 90% of the time we've both added files, and the merge is as easy as "choose both."

It's still the sort of thing where you want to check out, change the project, and check back in quick to avoid conflicts. I can imagine it getting worse with far-distance branches though.

It's not too different from a makefile, except you'll get a better error message when you muck up your makefile.