xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
新安装mac系统后svn命令失效
解决方法:
1 xcode-select --install选择安装,安装失败:下载失败网络问题
2 到该地址去手动下载安装器安装:https://idmsa.apple.com/IDMSWebAuth/signin?appIdKey=891bd3417a7776362562d2197f89480a8547b108fd934911bcbea0110d07f757&path=%2Fdownload%2Fmore%2F&rv=1
执行SVN后报 svn: error: The subversion command line tools are no longer provided by Xcode.
继续命令行执行下面命令,更新SVN brew install svn
解决方法:
第一步,替换brew.git
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
第二步:替换homebrew-core.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git