我尝试在OS X 10.9.1上安装/更新Xcode5。来解决Homebrew的问题所以我试着:
xcode-select --install在论坛/谷歌,他们说它将开始安装,例如。here,但是我得到了:
Usage: xcode-select -print-path
or: xcode-select -switch <xcode_folder_path>
or: xcode-select -version
Arguments:
-print-path Prints the path of the current Xcode folder
-switch <xcode_folder_path> Sets the path for the current Xcode folder
-version Prints xcode-select version information为什么?怎么啦?
感谢您的帮助!
发布于 2014-01-26 23:30:16
打印您的Xcode路径xcode-select -print-path
如果您的Xcode路径是not=/Applications/Xcode.app/Contents/Developer
在终端中更改它
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
https://stackoverflow.com/questions/21365197
复制相似问题