解决mac升级后出现的xcrun: error: invalid active developer path, missing xcrun 错误

最新升级最新版本的mac 应该有好多小伙伴遇见git、svn不能用了。。。 下面说下解决方案

1、在终端输入:xcode-select --install 安装

2、安装中你是否遇见安装失败?是请用下面方法(我是遇到了。。。)

2.1、进入 https://developer.apple.com/download/more/ 输入icloud账号密码
2.2、搜索下载command line tools(我是下载的第一个)

2.3、安装,使用。一切正常了

版权申明:本文由objJs原创,允许转载,但转载必须附注首发链接。谢谢

posted @ 2018-11-01 09:48  objJs  Views(220)  Comments(0Edit  收藏  举报