解决macos升级系统后出现make等命令无法使用的问题

当在命令行运行make命令时,会出现以下错误:

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

解决方案:重装xcode command line

xcode-select --install

猜你喜欢

转载自blog.csdn.net/Ahead_J/article/details/85636115