Git失效xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)
程序员文章站
2022-08-15 16:30:00
卸载Xcode不小心把Git也弄坏了,出现了如下错误xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun网上有教程说要brew install git,坑解决方法:install xcode-selectxcode-s...
卸载Xcode不小心把Git也弄坏了,出现了如下错误
xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun
网上有教程说要brew install git,坑
解决方法:install xcode-select
xcode-select --install
发现已经安装
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
那就直接reset
sudo xcode-select --reset
git --version
git version 2.15.2 (Apple Git-101.1)
好了!
本文地址:https://blog.csdn.net/dongfangxiaozi_/article/details/107949617
上一篇: 关于ajax的封装
下一篇: 自古红颜多薄命,貂蝉在吕布死后归宿如何?
推荐阅读
-
IntelliJ中Git突然不能用,报错 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
-
Git失效xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)
-
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
-
解决Mac升级到Mojave后出现xcrun: error: invalid active developer path, missing xcrun的问题
-
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
-
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
-
解决MacOS升级系统后出现xcrun: error: invalid active developer path, missing xcrun的问题
-
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
-
xcrun: error: invalid active developer path, missing xcrun
-
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题