Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Upload an ipa to testflight using altool
#!/bin/bash
set -e
set -u
altool="$(dirname "$(xcode-select -p)")/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool"
ipa="path/to/foo.ipa"
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment