Mac平台git出现xcrun: error: invalid active developer path
2017-11-15 17:21
615 查看
今天在mac上操作git,出现的一个问题,记录下来:
$ git checkout -f
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方式:
$ xcode-select --install
xcode-select: note: install requested for command line developer tools
$ git checkout -f
Your branch is up-to-date with 'origin/master'.
问题已解决。
$ git checkout -f
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方式:
$ xcode-select --install
xcode-select: note: install requested for command line developer tools
$ git checkout -f
Your branch is up-to-date with 'origin/master'.
问题已解决。
相关文章推荐
- mac执行git命令出现xcrun: error: invalid active developer path解决方法
- mac执行git命令出现xcrun: error: invalid active developer path解决方法
- [问题] mac执行git命令出现xcrun: error: invalid active developer path解决方法
- Mac 升级git报错 - xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), mis
- 解决mac升级后出现的 xcrun: error: invalid active developer path, missing xcrun 错误
- mac执行SVN命令出现xcrun: error: invalid active developer path解决方法
- 解决mac升级后,出现的 xcrun: error: invalid active developer path, missing xcrun 错误
- Mac下xcrun: error: invalid active developer path问题解决方法
- mac使用git突然报错xcrun: error: invalid active developer path
- mac git xcrun error active developer path 错误
- mac使用git突然报错xcrun: error: invalid active developer path
- mac git xcrun error active developer path 错误
- Mac下xcrun: error: invalid active developer path问题解决方法
- mac下执行git命名 xcrun: error: active developer path错误解决方法
- mac OS X El Capitan xcrun: error: invalid active developer path missing xcrun at
- MAC下homebrew出现xcrun: error: invalid active developer path
- mac git xcrun error active developer path 错误
- mac 命令行里 编译 链接 出现xcrun: error: active developer path
- Mac下运行git报错"xcrun: error: invalid active developer path .."
- mac OS X El Capitan xcrun: error: invalid active developer path missing xcrun at