xcrun error after MacOS update


I’ve been running the beta of MacOS Sierra for a while now and, apart from the odd niggle (which I’ve obviously reported), all has been fine. That was until I went to use my Subversion client for the first time…

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

Now, the issue here is that the command line tools are either missing or broken. The same happened after El Capitan, so this appears to be a general issue and one that, sadly, Apple don’t seem to fix.

ADVERTISEMENT

The solution is simply to re-install the required software again. Open up a Terminal window and type the following…

xcode-select --install

It will take a short while to download and install but it should get you up and working again.

If you liked this, you should try The Big Tech Question, which includes articles written by myself.

The Big Tech Question delivers straight answers to the biggest questions in tech. And some questions nobody really wanted the answers to…


2 Comments

  • hedgehog465016678

    26th September 2016

    if u don’t want to install Xcode, u can reinstall git to instead.

    Reply
  • Anonymous

    15th November 2017

    Apple is becoming worse than Microsoft…

    Reply

Talk to me!