macOS - Mojave - Error - xcrun - invalid active developer path

After upgrading to macOS Mojave, I got following error. 

git clone https://github.com/wardviaene/devops-box

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

 

Solution: 

install xcode

xcode-select --install

 

 

Add comment


Security code
Refresh