Warning: The magic method InvisibleReCaptcha\MchLib\Plugin\MchBasePublicPlugin::__wakeup() must have public visibility in /home/c7716645/public_html/atsuatsupoteto.com/wp-content/plugins/invisible-recaptcha/includes/plugin/MchBasePublicPlugin.php on line 37
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | だいごろとあつぽてのブログ

macOSでxcrun: error: invalid active developer path エラーが出てきたので対処

いつも通りMakefileのmakeコマンドを実行したら下記エラーが出てきた。

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

makeコマンドではなく元のコマンドで実行するとエラーは出ない。

思い当たることといえば昨日macOSのバージョンをVenture 13.3に上げたことくらい。

原因と対応

調べたところコマンドライン開発者ツール(xcodeの最新版)が足りていないようだ。下記コマンドでインストールしたら使えるようになった!

% xcode-select --install

やっぱりmacOSのバージョンを上げたのが原因だった。

コメント

タイトルとURLをコピーしました