MacBook xcrun: error: invalid active developer path

更新完mac系统,终端执行命令会出现

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

解决方法:

重新安装xcode     xcode-select --install

你可能感兴趣的:(macos)