-
-
Save keith/5b5f61f4cc690aec403afd92aab020c3 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
set -euo pipefail | |
xcrun altool --upload-app --type ios --file "path/to/foo.ipa" --username "$ITC_USER" --password "$ITC_PASSWORD" |
This command can run now? I try running it and get an error: *** Error: code -22014 (Unable to validate your application. We are unable to create an authentication session.)
Sorry I just start with iOS
We've seen that before intermittently. You should rerun later or check your auth credentials.
What are usernane
and password
values ?
And Where can I find them?
It's the ones you login to the developer portal with
Is there a way to use a script to upload to appstore?
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
Hey @keith thanks for the script. Do you know any command to submit uploaded ipa file for TestFlight review?
@khindemit you can use the App Store connect api for that
is there a way to set build version in the altool?
@villimin I personally use a git tag for the version.
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."
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
You'll need to stop the existing one, you can foreground it first https://www.gnu.org/software/bash/manual/html_node/Job-Control-Basics.html or
pkill
it