Skip to content

Instantly share code, notes, and snippets.

@keith
Last active November 1, 2023 12:59
Show Gist options
  • Star 48 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • 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"
@keith
Copy link
Author

keith commented Nov 8, 2021

This pretty much does that, it just requires you to submit it manually still (or you could use the App Store Connect API) for that piece

@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