XCode and git are fighting. "no developer tools were found"
Hello, my install of git is broken, and it looks like somehow my Developer tools are broken. When I try to run git, I get this error:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
I have run XCode and agreed to the license. I tried running xcode-select --install and got another error:
cook47-a@rcmac (current_projects): sudo xcode-select --install
Password:
xcode-select: error: no developer tools were found, and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.
After googling this error, I downloaded the commandlinetools installer from Apple for my OS (10.9.5) and XCode (6.2) versions. It installed successfully. However, git still is broken and xcode-select --install still gives the same errors.
I also tried xcodebuild -license and it does prompt me to agree to the agreement but after agreeing, no change. Still broken. Sigh
This has me completely stumped. This was working yesterday! I work in a government environment where it's possible an update changed something, so I cannot be sure exactly what might have changed.
Anyone know how I can get git working again? I tried nuking and reinstalling XCode and the Command Line tools but to no avail. git from MacPorts and /usr/bin/git are both giving the same error message.
PowerMac, OS X Mavericks (10.9.5), My work computer