0
votes

After updating to macOS Mojave, on my terminal error shows up as :

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

3

3 Answers

1
votes

xcode-select --install Try this command, and if it doesn't work. Please try this! sudo xcode-select -switch /

0
votes

xcode-select --install

Try running this code and it will install necessary x-code updates

0
votes

First open the Terminal, then type the following

xcode-select --install

the xcode will be installed after you approved the license agreements.