Git: invalid active developer path

今天更新了10.15,不知道是不是因为删除了xcode的一些data还是因为更新了系统,git上的东西都无法加载了,提示:

git log' failed with code 1:'xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

看起来像缺少xcrun这个东西

解决方案:

xcode-select --install

安装完成后,xcode-select: note: install requested for command line developer tools

成功加载出来了,这里mark一下.

posted @ 2019-12-16 10:26  萧蔷ink  阅读(2027)  评论(0编辑  收藏  举报