xcode-select --install没有运行 [英] xcode-select --install not running

查看:552
本文介绍了xcode-select --install没有运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在OS X 10.9.1上安装/更新Xcode5.解决Homebrew的问题.所以我尝试:

i try to install/update Xcode5 on OS X 10.9.1. to solve a problem with Homebrew. So i try:

    xcode-select --install

在论坛/google中,他们说它将开始安装,例如. 此处,但我得到:

In forums/google they say it will start the installation eg. here but i get:

    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

为什么?怎么了?

谢谢您的帮助!

推荐答案

打印Xcode路径 xcode-select -print-path

Print your Xcode Path xcode-select -print-path

如果您的Xcode路径不是= /Applications/Xcode.app/Contents/Developer

If your Xcode path is not=/Applications/Xcode.app/Contents/Developer

在终端中更改

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

这篇关于xcode-select --install没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆