Skip to content

Instantly share code, notes, and snippets.

@naokits
Created October 26, 2013 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naokits/7170665 to your computer and use it in GitHub Desktop.
Save naokits/7170665 to your computer and use it in GitHub Desktop.
Mac OSX 10.9 MavericksでXcodeを5.0.1にアップデートした後に「Command Line Developer Tools」がインストールされていない場合の対

たまには「brew doctor」しておくかと思い、やってみると「developer tools」がインストールされてないと言われます。

/Users/naokits% brew doctor          
Warning: No developer tools installed.
You should install the Command Line Tools.
Run `xcode-select --install` to install them.

^C

「おかしいなー、ちゃんと最初にインストールしたぞ?」と思いつつもXcodeの環境設定画面を見ると本当にありません。

しょうがないので、doctorに言われた通りのコマンドを入力します。

/Users/naokits% xcode-select --install
xcode-select: note: install requested for command line developer tools

直後にGUIでインストール画面が起動するので、そのままインストールします。

ダウンロードは開始したのですが、リジュームが効いていたのか途中からダウンロードが開始されました。 私の住んでいる地域は停電が多いので、ネットが切れたときに途中で終了してしまったのだと思います。 このようにインストールが途中で終わってしまった場合はXcodeを起動しても、自動では再開されないようですのでご注意ください。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment