mac升级后提示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

解决方法:
重新安装xcrun,命令行输入:

xcode-select --install

你可能感兴趣的:(mac升级后提示xcrun: error: invalid active developer path)