错误
更新了系统后,进入到git工程目录,输入git命令,提示无效路径错误
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
以及在Android studio 提示错误
can't start git: /usr/bin/git
probably the path to git executable is not valid . `fix it`.
解决方案:
打开终端输入以下语句,据说是重新安装xcode命令工具
xcode-select --install

本文解决系统更新后使用Git遇到的无效路径错误及xcrun找不到的问题,提供重新安装Xcode命令行工具的步骤,适用于遇到类似Android Studio中无法启动Git错误的开发者。
1448





