Instantly share code, notes, and snippets.

What would you like to do?
Upload an ipa to testflight using altool
set -e
set -u
altool="$(dirname "$(xcode-select -p)")/Applications/Application"
echo "Validating app..."
time "$altool" --validate-app --type ios --file "$ipa" --username "$ITC_USER" --password "$ITC_PASSWORD"
echo "Uploading app to iTC..."
time "$altool" --upload-app --type ios --file "$ipa" --username "$ITC_USER" --password "$ITC_PASSWORD"

This comment has been minimized.

Copy link

HerrNiklasRaab commented Dec 4, 2018

This script is uploading to testflight, how can i upload to appstore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment