Skip to content

Instantly share code, notes, and snippets.

@beny
Created January 19, 2018 10:43
Show Gist options
  • Save beny/3fc3e4fb14b3a0dc12d983299f7b0181 to your computer and use it in GitHub Desktop.
Save beny/3fc3e4fb14b3a0dc12d983299f7b0181 to your computer and use it in GitHub Desktop.
validate and check ipa to iTunes Connect
#!/bin/bash
# origin https://gist.github.com/keith/5b5f61f4cc690aec403afd92aab020c3
altool="$(dirname "$(xcode-select -p)")/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool"
appleId="[email protected]"
echo "Validating app..."
time "$altool" --validate-app --file "$1" --username "$appleId" --password @keychain:"Application Loader: $appleId"
echo "Uploading app to iTC..."
time "$altool" --upload-app --file "$1" --username "$appleId" --password @keychain:"Application Loader: $appleId"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment