macOS升级10.15 Catalina出现missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 的解决办法
升级macOS 10.15 Catalina后,执行git clone 操作出现下面的错误
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
从错误可以看出是缺少Command Line Tools,在terminal中执行下面的命令安装即可
xcode-select --install
相关阅读
- Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date 的解决办法
- Navicat for MySQL连接 MySQL 8.0.18 出现1251- Client does not support authentication protocol requested by server的解决办法
- .NET Core 出现 Predefined type ‘System.String’ is not defined or imported 的解决办法
