OSX10.9のXcode5にコマンドラインツールを追加する
今回のは完全にメモ書きです
間違いなく忘れる内容なので...φ(・ω・`)
先日、OSX10.9がリリースされ、Xcodeも5にバージョンアップされましたが、
例によってmake等のコマンドラインツールは別ダウンロードです
しかし、なぜかXcode5の「Downloads」には、
「Command Line Tools」が見当たりませんΣ(゚Д゚)ガーン
これがないと、Homebrewもrvmも詰んでしまうわけですが、
Homebrew自身が解決策を教えてくれました
$ brew doctor Warning: You are using Mac OS X 10.9. We do not yet provide support for this (unreleased) version. Error: Homebrew doesn't know what compiler versions ship with your version of Xcode (5.0.1). Please `brew update` and if that doesn't help, file an issue with the output of `brew --config`: https://github.com/mxcl/homebrew/issues Thanks!
ということで、まずHomebrew自体をupdateして、
もう一回確認してみます
$ brew update $ brew doctor Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them.
つまり、「xcode-select --install」を実行すれば良く、
ターミナルからこれを実行すると、
GUIのダイアログが出てダウンロードが始まります
それにしても、開発機としてのMacを考えた場合、
このツールは必要不可欠なわけで、
なぜダウンロードリストから消えてしまったのでしょう(´-ω-)