问题描述:升级macosx后 运行命令 出现了 xcrun: error: invalid active developer path, missing xcrun 错误

解决方案:
$xcode-select --install
如果不行,试一下:
$sudo xcode-select -switch /
本文解决macOS升级后运行命令出现xcrun:error:invalidactive developer path,missing xcrun错误的问题,提供两种解决办法:使用$xcode-select --install或$sudo xcode-select switch。
问题描述:升级macosx后 运行命令 出现了 xcrun: error: invalid active developer path, missing xcrun 错误

解决方案:
$xcode-select --install
如果不行,试一下:
$sudo xcode-select -switch /
5万+
1722

被折叠的 条评论
为什么被折叠?