ホーム > Other > xcode-select: note: No developer tools were found, requesting installを解決する方法
Other

xcode-select: note: No developer tools were found, requesting installを解決する方法

いつもご利用ありがとうございます。
この記事には広告が掲載されており、その広告費によって運営しています。

M4 Macでは初期設定ではターミナルが使用できず、xcode-select: note: No developer tools were found, requesting installというエラーが発生したのでその解決方法についてまとめました。

今回解決するエラーの全文

xcode-select: note: No developer tools were found, requesting install. If developer tools are located at a non-default location on disk, use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog. See man xcode-select for more details.

解決方法

xcode-select --install

とコマンドを打っただけ。

これでCommand Line Toolsというのがインストールされます。

これ、エラー文に書いておいてくれればいいのに。

ちなみに、Xcode を App Store からインストールする方法もあるみたいで、それだと容量を結構食うので避ける人は多そうである。

インテルチップ時代 Mac の記憶では最初から何もせずに使えたような気がする。なんてこった。

でも M4 の方が格段にビルドも速いし許しちゃうにゃ。

フィードバックのお願い
この記事のフィードバックがありましたらYoutubeの適当な動画にコメントしていただいたり、お問い合わせからご連絡ください。