MacOS Big Sur 11.0.1 (20B29) 不支持 svn ?

MacOS Big Sur 11.0.1 (20B29) 不支持 svn的解决办法。

升级了最新的Mac系统MacOS Big Sur 11.0.1 (20B29) ,其他操作感觉一切良好,但是在开发过程中发现svn不能用了。是系统问题吗?不是的。

svn 不支持了

➜  ~ svn --verison
zsh: command not found: svn

试了一下git

xcrun: error: active developer path ("/Applications/Xcode12.1.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.

这个提示比较明显,于是我更新Xcode Line tool,并重启了电脑,再次尝试:

➜  ~ git --version
git version 2.24.3 (Apple Git-128)
➜  ~ svn --verison                  
zsh: command not found: svn

git 好使了,svn还是不可以。

为什么svn不好使?

➜  ~ brew install svn
Warning: You are using macOS 11.0.
We do not provide support for this released but not yet supported version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
released but not yet supported version.

虽然还是不支持,但brew install svn可以解决svn不支持的问题。

==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/apr-1.7.0.big_sur.bottle.tar.gz
######################################################################## 100.0%

更新完之后就可以使用svn了。

从Xcode11开始,就不再内置支持svn了,如果需要使用svn的话,通过Homebrew来安装,如果已安装的话更新一下即可。

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 7
    评论
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Morris_

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值