博奕人生 發表於 2023-6-5 00:00:00

mac执行git报错:git xcrun: error: invalid active developer path

<p>mac升级到10.12(macOS Sierra),执行git命令,出现如下错误</p><pre class="brush:bash;toolbar:false">$ git
xcrun: 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]
查看完整版本: mac执行git报错:git xcrun: error: invalid active developer path