Upload app to App Store Connect

«  Narcissistic Number
Swift Fallthrough  »

Questions

Before Xcode 11, we could upload app binary via Application Loader. But Xcode 11 removed it.

https://developer.apple.com/documentation/xcode_release_notes/xcode_11_release_notes

Xcode supports uploading apps from the Organizer window or from the command line with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode. (29008875)

Solutions

Then how should we upload app for now?

Here, just imagine we’ve already got the ipa file. For more detials abou the archive, this guideline would be helpful.

According to Apple Doc, we could have 2 ways to upload ipa to App Store.

altool

You can use xcrun (included with Xcode) to invoke altool, a command-line tool that lets you notarize, validate, and upload your app binary files to the App Store.

$ xcrun altool --validate-app -f file -t platform -u username [-p password] [--output-format xml]
$ xcrun altool --upload-app -f file -t platform -u username [-p password] [—output-format xml]

For atool, here is the doc.

Transporter app

The Transporter app for macOS is a simple and easy way to upload an app to App Store Connect for distribution on the App Store. In addition to uploading your build, you can view delivery progress (including warnings, errors, and delivery logs), as well as a history of past deliveries.

We could just download the Transporter app from Mac App Store and use it.

Reference

https://help.apple.com/app-store-connect/#/devb1c185036

Published on 10 Apr 2020 Find me on Facebook, Twitter!

«  Narcissistic Number
Swift Fallthrough  »

Comments

    Join the discussion for this article at here . Our comments is using Github Issues. All of posted comments will display at this page instantly.