XCodeを普段使ってない場合は以下を実行
xcode-select --install
RubyGemsで入れる場合
sudo gem install fastlane -NV
brewで入れる場合
brewがない場合は以下を実行してbrewをインストール
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install fastlane ```` 終わり [https://docs.fastlane.tools/getting-started/ios/setup/:embed:cite]