开发者

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?


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

I have a fix here


Another solution is to reinstall Xcode, if you have "Install Xcode" icon in your application folder. Xcode installs git and everything should be fine.


I just ran into this issue from a Snow Leopard -> New Computer migration. One of my xcodes is installed via the app store and the other is from the ADC portal. I didn't want to wait a million hours to download the xcode installer, so I just installed git.

I used the one-click-installation (I used the 64-bit SL package) at this link and everything works fine now:

http://code.google.com/p/git-osx-installer/downloads/list?can=3

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜