Search code examples
gitmigrationxcode4

Git stopped working in Xcode 4 after migration


We just got new iMacs at the office, so I migrated everything from my old mac using Migration Assistant.

However git wasn't included in the migration (why?) and Xcode's git support seems to have vanished as well. Reinstalling git wasn't a problem, but Xcode still doesn't recognize git repositories.

Does anyone know why and can be done to solve it?


Solution

  • Xcode expects git to be in /usr/bin and you may not have installed you Git in that location.

    I have a fix here