xcrun error invalid active developer path in macOS Mojave
Problem:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
This error shows on the terminal when you update or new install macOS Mojave. This error means your system does not have installed Xcode-select Developer Tool.
Solution:
Open the terminal and run following command:
xcode-select --install
You will see installation window. You do not need to install full Xcode, So just choose install. The setup size is approx 135 MB. This will download and install xcode-select.
Your problem should be solved and enjoy.
If you are still facing problem then try to reset your xcode-select path.
xcode-select --switch /Applications/Xcode.app
xcode-select --switch /Library/Developer/CommandLineTools
Keywords: