当我输入git init时,我尝试进入git时遇到了这个错误。
xcrun:错误:无效的活动开发人员路径
(/ Library / Developer / CommandLineTools),缺少xcrun,位于:/ Library / Developer / CommandLineTools / usr / bin / xcrun
我尝试了以下解决方案。
xcode-select —install
sudo xcode-select -switch
sudo xcode-select —install
brew doctor
brew update
brew upgrade
brew cleanup
1
命令行工具的
—
Stephen Rauch,
对于Xcode 11.3,需要下载以下链接。download.developer.apple.com/Developer_Tools/...
—
乔治