As part of the countinues integration process of my iPhone application, I want to create a process that will automatically upload the app (.ipa) file to the apple app store. I already managed to create the package and validate it. Is there a way to upload the ipa file to the appstore via command line?
Terminal is a sandboxed command line environment for iOS that has over 30 commands currently available, covering many of the most used command line tools and commands you know and love, like cat, grep, curl, gzip and tar, ln, ls, cd, cp, mv, rm, wc, and more, all available right on your iPhone or iPad.
Apple App Store Fee - 2020 To publish your app on the Apple App Store, you should get to know that Apple App Store Fee for the users an amount of $99 on an annual basis as a cost to publish apps.
Becoming an Apple developer is free, but this won't enable you to submit an app to the App Store — to do that you must pay the aforementioned US$99 fee.
Make sure you have an application in "waiting to upload" state.
Create a new keychain Item Named: Xcode:itunesconnect.apple.com provide your credentials to itunes connect.
From the command line: xcrun -sdk iphoneos Validation -online -upload -verbose "path to ipa"
The previous reply does not work with the new iTunes Connect any more.
You need to use the iTunes Transporter
to upload your app to iTunes Connect. Check out the source code of deliver on GitHub: https://github.com/fastlane/fastlane/blob/master/fastlane_core/lib/fastlane_core/itunes_transporter.rb
You can use deliver to automatically upload new updates to the App Store: https://fastlane.tools/deliver
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With