DEV Community

moogoo
moogoo

Posted on

macOS: xcrun: error

After upgrade macOS to 12.4 (Monterey), execute make command will get this error message:

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

fixed: udate Xcode toolkit

$ xcode-select --install
Enter fullscreen mode Exit fullscreen mode

wait about 20 minutes, my make command works.

Top comments (0)