小编jhn*_*ath的帖子

升级到El Capitan后,活动开发人员路径错误无效

当我输入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
Run Code Online (Sandbox Code Playgroud)

git xcode

77
推荐指数
3
解决办法
3万
查看次数

标签 统计

git ×1

xcode ×1