🤖
「xcrun: error: invalid active developer path 」エラーの解決方法
NEONを動かそうと思ったらコンパイルエラーが発生しました
error: could not compile `proc-macro2` due to previous error
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64"....
= note: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
...
error: could not compile `quote` due to previous error
...
どうやら昨日MacOSをVenturaに上げたため、XCodeのxcrunコマンドに参照問題が生じてる様子
MacOSアップデートあるあるですね
Xcode Command Line Toolをインストールすれば解決します
xcode-select --install
Discussion