brew cask install fastlane
sudo gem install fastlane -NV
import_from_git(url: "https://github.com/appswithlove/fastlane_tools.git", version: "~>1.0.0")
to the top of your existing Fastfile. https://github.com/appswithlove/fastlane_tools.env
files. These files can be named to suit your needs, e.g. .env.appstore
Then call fastlane with the env parameter, e.g. fastlane deploy_appstore --env appstore