Skip to content

Instantly share code, notes, and snippets.

@keith
Last active June 9, 2024 04:15
Show Gist options
  • Save keith/5b5f61f4cc690aec403afd92aab020c3 to your computer and use it in GitHub Desktop.
Save keith/5b5f61f4cc690aec403afd92aab020c3 to your computer and use it in GitHub Desktop.
Upload an ipa to testflight using altool
#!/bin/bash
set -euo pipefail
xcrun altool --upload-app --type ios --file "path/to/foo.ipa" --username "$ITC_USER" --password "$ITC_PASSWORD"
@gindemit
Copy link

Hey @keith thanks for the script. Do you know any command to submit uploaded ipa file for TestFlight review?

@keith
Copy link
Author

keith commented Jun 10, 2022

@khindemit you can use the App Store connect api for that

@villimin
Copy link

villimin commented Feb 8, 2023

is there a way to set build version in the altool?

@MartinDelille
Copy link

@villimin I personally use a git tag for the version.

@ios-nexlab
Copy link

I've used this command but receiving the Appstore Connect's email message: "ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it."

@keith
Copy link
Author

keith commented Jul 11, 2023

I've used this command but receiving the Appstore Connect's email message: "ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it."

that sounds unrelated to this tool

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