mac git xcrun error active developer path 错误
2014-09-15 08:52
1541 查看
一:情景:
在mac下使用git;xcode4.6的环境时,需要安装command line tools ,但是在装了xcode5之后,就不需要安装command line tools了,默认已经集成了;但是我先装了,xcode4.6后来又安装了xcode5也就是,我mac上安装了两个版本的xocde但是在终端下使用git时,出现了错误如下:
二:错误
xcrun: error: active developer path ("/Users/apple/Desktop/Xcode5.app/Contents/Developer") does not exist, use xcode-select to change
三:解决方法:
在终端下:
sudo xcode-select -switch /Applications/Xcode5.app/Contents/Developer
注:上面的xcode5.app根据情况,因为我的xcode安装之后,改了名字叫xcode5所以这里是,xcodee5.app如果你没有攺,就是xcode.app
您可能感兴趣的文章:
相关文章推荐
- mac git xcrun error active developer path 错误
- mac git xcrun error active developer path 错误
- mac下执行git命名 xcrun: error: active developer path错误解决方法
- mac git xcrun error 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解决方法
- Mac平台git出现xcrun: error: invalid active developer path
- 解决mac升级后,出现的 xcrun: error: invalid active developer path, missing xcrun 错误
- Mac 升级git报错 - xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), mis
- 解决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 OS下错误提示xcrun: error: invalid active developer path
- git xcrun: error: invalid active developer path
- iOS之xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 错误处理
- mac OS X El Capitan xcrun: error: invalid active developer path missing xcrun at
- MAC OS下错误提示xcrun: error: invalid active developer path
- mac使用git突然报错xcrun: error: invalid active developer path
- mac使用git突然报错xcrun: error: invalid active developer path