xcrun: error: active developer path ("/XX") does not exist

MAC OS 10.9下执行命令

svn --version

报出如下错误:

xcrun: error: active developer path ("/Users/username/Downloads/Xcode5.app/Contents/Developer") does not exist, use xcode-select to change

仔细看了一下,发现该文件位置不存在,却存在如下路径:

/Applications/Xcode-Beta.app/Contents/Developer/

注:本人安装的是Xcode-Beta版本,具体版本请查看自己/Application路径下Xcode开始的是哪个文件夹

于是,使用如下命令将相应的developer path更换到相应目录下:

sudo xcode-select -s /Applications/Xcode-Beta.app/Contents/Developer/

此时,再次执行如下命令边不会再报错了,而且许多之前由于xcrun的原因而无法执行的命令也都可以了。

svn --version
时间: 2024-10-10 22:39:22

xcrun: error: active developer path ("/XX") does not exist的相关文章

[MacOS] xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

When using MacOS with xcode6-beta, i always meet these error: xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change After googled, i found the solution. sudo xcode-se

mac git xcrun error active developer path 错误

一:情景: 在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/Co

xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

When using MacOS with xcode6.4, i always meet these error: xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change After googled, i found the solution. sudo xcode-selec

xcrun: error: active developer path

xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-sele

xcrun: error: active developer path ("/Users/apple/Desktop/Xcode5.app/Contents/Developer") does not exist, use xcode-select to change

一:情景: 在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/Co

Cocoapods报错xcrun: error: active developer path ("/Users/wangwei/Downloads/Xcode.app/Contents/Developer") does not exist

今天运行pod install 居然抛出一个xcrun: error: active developer path ("/Users/wangwei/Downloads/Xcode.app/Contents/Developer") does not exist错误,然后一想昨天都是正常的,怎么会产生错误呢.突然想起早晨删除了一个低版本的Xcode,然后一看错误信息,果然是这样引起的.Use `sudo xcode-select --switch path/to/Xcode.app` t

xcrun: error: active developer path (*)does not exist, use `*` to specify the Xcode that you wish to use for command line developer tools (*)

今天更新了下系统和xcode,出现此问题,可能是因为 1,安装了多个个Xcode.app引起 2,下载后直接从镜像中打开了xcode,然后xcode就把command line tools安装位置记成了镜像中的位置了 解决 1 sudo xcode-select -switch /Applications/Xcode6.4.app/Contents/Developer

执行config文件时,config.log中报错xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change

执行 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer 即可解决.

mac 命令行里 编译 链接 出现xcrun: error: active developer&nbs

mac 命令行里 编译 链接 出现xcrun: error: active developer path mac cc 编译出现 xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select to change 在命令行里输入 sudo xcode-select -switch /Applications/Xcode