mac执行git报错:git xcrun: error: invalid active developer path
<p>mac升级到10.12(macOS Sierra),执行git命令,出现如下错误</p><pre class="brush:bash;toolbar:false">$ gitxcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun</pre><p>解决方法</p><pre class="brush:bash;toolbar:false">xcode-select --install</pre><p>弹出一个界面,安装提示安装即可。</p>
頁:
[1]