1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

gitコマンドでmake deploy時に「xcrun: error: invalid active developer path ~」が出た時の対処法

Posted at

はじめに

こちらの記事は、学習でのアウトプットを目的として制作した記事になります。誤った情報や必要な情報が不足している可能性があります。予めご了承ください。間違いや気になる点がございましたらご指摘いただきますと幸いです。

 make deploy時に、下記のようなエラーが出たのでまとめます。

xcrun: error: invalid active developer path

問題

 macOSアプデ後によく出るエラーのようでXcode関連のエラーのようです。

解決方法

 xcode-select --installでコマンドライン開発者ツールをインストールすることで解決できます。

xcode-select --install
xcode-select: note: install requested for command line developer tools

 すると、ポップアップが出るの順に進めていきます。

スクリーンショット 2025-09-26 0.36.20.png

スクリーンショット 2025-09-26 0.36.58.png

スクリーンショット 2025-09-26 0.37.17.png

 最初の予想時は2時間とか出ましたが、最終的には5分ほどでインストールできました。

 再度コマンド実行すれば問題なく実行できるようになるかと思います。

おわりに

 今後も遭遇しそうなエラーだったので勉強になりました。

参考文献

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?