Mac 升级后idea执行git命令报错xcrun: error: invalid active developer path的解决办法


 

报错

 

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

 

查询通用的做法是在terminal 执行:

xcode-select --install

 

由于macOS  升级,打开ieda 还是报错,上面的解决办法还是不行

报错:

下午3:57 Сannot Run Git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

就去git官网下载git https://git-scm.com/download/mac

在手动安装git

再在idea中配置git的地址:

/usr/local/git/bin/git

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM