Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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"
@HerrNiklasRaab

This comment has been minimized.

Copy link

HerrNiklasRaab commented Dec 4, 2018

This script is uploading to testflight, how can i upload to appstore?

@Khronoss

This comment has been minimized.

Copy link

Khronoss commented May 7, 2019

@HerrNiklasRaab Actually the binary is uploaded to iTunesConnect, which allows you to send it to TestFlight (not mandatory) AND upload it to the AppStore after sending it to Apple's review process

@MartinDelille

This comment has been minimized.

Copy link

MartinDelille commented Jul 13, 2019

altool is available via a shorter path: /Applications/Xcode.app/Contents/Developer/usr/bin/altool (which in fact is a symlink to /Applications/Xcode.app/Contents/Developer/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/Current/Support/altool

@keith

This comment has been minimized.

Copy link
Owner Author

keith commented Jul 15, 2019

I've updated the gist with the new path, and now that I know that validating the app just to upload it is redundant

@MartinDelille

This comment has been minimized.

Copy link

MartinDelille commented Jul 16, 2019

Nice! Even shorter than I thought ! 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.