Skip to content

Instantly share code, notes, and snippets.

@madlymad
Forked from beny/ipa-uploader
Created March 22, 2019 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madlymad/647f5f6e53d8365ef6a5c52dd99b9df5 to your computer and use it in GitHub Desktop.
Save madlymad/647f5f6e53d8365ef6a5c52dd99b9df5 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="apple-id@example.com"
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