Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos xcode选择--安装未运行_Macos_Installation_Xcode5 - Fatal编程技术网

Macos xcode选择--安装未运行

Macos xcode选择--安装未运行,macos,installation,xcode5,Macos,Installation,Xcode5,我尝试在OSX10.9.1上安装/更新Xcode5。用自制软件解决问题。所以我试着: xcode-select --install 在论坛/谷歌,他们说它将开始安装,例如,但我得到: Usage: xcode-select -print-path or: xcode-select -switch <xcode_folder_path> or: xcode-select -version Arguments: -print-path

我尝试在OSX10.9.1上安装/更新Xcode5。用自制软件解决问题。所以我试着:

    xcode-select --install
在论坛/谷歌,他们说它将开始安装,例如,但我得到:

    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选择开关
或:xcode选择-版本
论据:
-打印路径打印当前Xcode文件夹的路径
-开关设置当前Xcode文件夹的路径
-版本打印xcode选择版本信息
为什么??怎么了

谢谢你的帮助

打印您的Xcode路径
xcode选择-打印路径

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

在终点站换车


sudoxcode选择-switch/Applications/xcode.app/Contents/Developer

粘贴并运行它,将结果发布到这里
ruby-e“$(curl-fsSLhttps://raw.github.com/Homebrew/homebrew/go/install)“