xcode-select --install not running

99封情书 提交于 2020-01-05 19:00:20

问题


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

    xcode-select --install

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

Why? What is wrong?

thx for your help!


回答1:


Print your Xcode Path xcode-select -print-path

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

change it in terminal

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



来源:https://stackoverflow.com/questions/21365197/xcode-select-install-not-running

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!