Command Line Toolsがエラー
App Store Connectなんかにビルドをアップロードする時なんかに使う人もいるであろうxcrun altool
のコマンド。
xcrun altool --upload-app -f aaaaaaaaaaa.ipa -t ios -u test@gmail.com -p testtest
こんな感じのコマンドでビルドをテストフライトにアップしようとしたらエラー発生!!!
xcrun: error: unable to find utility "altool", not a developer tool or in PATH
よくわからんが再度インストールしようとしても、ダメらしい。。。
xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
CommandLineToolsを削除して再インストール
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
上記のコマンドで無事解決しました。