It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

"No developer tools found" on latest Mavericks/Xcode

Jason Perkins Oct 23, 2013

Updated to latest Mavericks and Xcode 5. Attempts to pull or push against a git repository now give me this error:

xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.

Xcode 5 is installed in /Applications, and the tools are present (/Applications/Xcode.app/Contents/Developer/usr/bin/git exists, for instance). Tried running `sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer`; no effect.

Any ideas? Thanks!

Update: I am using the embedded version of git:

git preferences screenshot

Switching to system git (1.8.3.4) gives me the same error.

Update #2: Tried:

  • Uninstalling (via AppCleaner) and reinstalling SourceTree
  • Downloading and installing the latest Xcode Command Line Tools package from developer.apple.com

This doesn't seem to be SourceTree specific; I get the same error if I try to run `git fetch` from the command line. Other git commands seem to work, so it must be something related to connecting to the remote server. Still completely stumped.

3 answers

1 accepted

0 votes
Answer accepted
Jason Perkins Oct 29, 2013

Ah, I figured it out: was missing the Command Line Tools package on the SERVER. There is no indication in the error message itself where it originated, and I made the assumption that it was on my client box.

Easy fix, then: xcode-select --install (on the server, that is)

Sorry for the drama; glad to have it fixed!

1 vote
Albertus Putra Oct 27, 2013

open ur terminal and do this:

PATH=/usr/local/git/bin:$PATH
export PATH

This won't work as SourceTree runs in its own process and thus own environment.

Jason Perkins Oct 29, 2013

This doesn't really make any sense: git isn't installed at that location.

0 votes

Hey Jason,

This should work fine as has done in our Xcode 5 tests. This means your SourceTree preferences are set to use system Git. You could get ST working by specifying 'embedded Git' in your Git preferences.

As for the missing Git, perhaps you need to re-specify system Git and choose the location as /usr/bin/git. I've got a funny feeling Xcode has moved its own Git installation (command line tools) elsewhere which is why SourceTree might be failing as it's looking up the place it used to be.

Cheers

Jason Perkins Oct 27, 2013

Updated my question with version information: I was set to use the embedded git, and switching to system git still gives me the same error.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

462 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you