OSX Sierra Upgrade and broken dev tools

Posted: 2016-11-25 13:03:53 by Alasdair Keyes

Direct Link | RSS feed


I upgraded my work Macbook from OSX El Capitan to Sierra after which git started returning a very unfriendly message

$ git status
git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

It turns out to be an issue with the OSX developer tools installation. Reinstall it with the following (requires sudo password) and you'll be good to go.

$ xcode-select --install


If you found this useful, please feel free to donate via bitcoin to 1NT2ErDzLDBPB8CDLk6j1qUdT6FmxkMmNz

IT Consultancy Services

I'm now available for IT consultancy and software development services - Cloudee LTD.



Happy user of Digital Ocean (Affiliate link)


Version:master-619e08f203


Validate HTML 5