Skip to content Skip to sidebar Skip to footer

How to Upload Build to Itunes Connect Xcode Alternative

Originally Published on XCBlog hither. Read original post for better graphics.

iOS applications don't go to iTunes Connect easily, it takes blood, sweat and tears of engineers with them. It involves various circuitous job earlier app hits iTunes Connect. Surely, every iOS engineer must have felt that pain at least once in the lifetime. There are some underlying tools and technologies that Apple uses to upload your binary to iTunes connect and these technologies are being used in multiple tools. I want to keep this post very short as someone said that my posts are really long then I will try to proceed in short and sweet. In this post, we will what are the means you can upload app binary to iTunes Connect.

GUI Tools

1] Local Xcode

In past, everybody has done it using local Xcode machine to annal the app and uploading it to iTunes Connect. If you lot are lazy then you might be still doing this way. Ideally the all these archiving and uploading should happen from continuous integration server. Anyway, Xcode is the very uncomplicated way to upload the builds on iTunes Connects.

Apple Developer portal has footstep by Step guide how to do this, literally like feeding the baby. Y'all can read here

ii] Awarding Loader

Awarding loader is some other tool that comes upwards with Xcode. We can an access Application Loader from Xcode > Open Developer Tool > Application Loader. You have to login into Application Loader tool with your Apple tree ID and do the stuff.

Again Apple has great stride by Footstep documentation on how to use Awarding Loader here

Command Line Tools

3] Fastlane

Fastlane became the very popular tool for Continuous Commitment of iOS applications these days as it wrapped all complex Apple tree Developer tools under the hood. Fastlane has sub tool chosen Deliver which used to uploading the iOS app to iTunes Connect. With Deliver, you can send iOS apps to iTunes Connect or even submit to App Store using following configuration in the Fastlfile which is a config file for Fastlane.

          deliver(
submit_for_review: true,
forcefulness: true,
metadata_path: "./metadata"
)

Besides, there are various other options that you tin add together which can plant here

Annotation that, Fastlane Deliver apply the iTMSTraspoter tool under the hood to upload apps to iTunes Connect that we will await in the after this.

iv] iTMSTranporter

An iTMSTransporter stands for iTunes Music Store Transporter which is Apple'southward weird Java-based control-line tool to upload app binaries, upload screenshots, update app metadata, manage app pricing manage In-App Purchase products etc. This utility comes with Xcode so need to install it explicitly as long equally you got Xcode. The binary tin can be found hither

          $ /Applications/Xcode.app/Contents/Applications/Awarding\ Loader.app/Contents/itms/bin/iTMSTransporter        

You lot can add to a higher place to your $PATH and so that, you tin can utilise iTMSTransporter directly. If you take a wait at the — help them you will see different options but we volition care about mode option that is -m and nosotros tin pass different things to it.

          -m <arg>           The -g option specifies the tool's mode.  The valid values are:
verify, upload, provider, diagnostic, lookupMetadata,
lookupArtist, status, statusAll, createMetadataTicket,
queryTickets, generateSchema, transferTest,
downloadMetadataGuides, iTunesExtraQCDownload, iTunesLPQCDownload,
listReports, requestReport

At that place will exist the split mail to swoop deep into this tool afterward just information technology'due south the three-step process.

  • Download the .itmsp file stub bundle of an app using lookupMetadata argument
  • Verify that contents of the app package using verify argument
  • Finally, upload the app bundle to iTunes Connect using upload argument

In that location is a Reddish-based wrapper bachelor on Github if y'all like Ruby.

Again, at that place very detailed documentation on Transporter on Apple website hither

5] altool

An altool is command line interface for the Awarding Loader. We don't demand to install this utility explicitly, it comes upwards with the latest Xcode. You can find binary at path

          $ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool        

Once more, you might demand to add this to your $PATH so that, you can use altool from anywhere. This is very elementary to utilise tool if you lot have ipa of your app then you are merely one command abroad to upload your app to iTunes Connect

          $ altool --upload-app -f "path/to/file.ipa" -u %USERNAME% -p %Password%        

You tin likewise verify the app before uploading using — validate-app option. This can be used on whatsoever Continuous Integration server. There is prissy little bash script to employ altool on Github hither

Apple has brief documentation of altool here

Conclusion

iOS developers should know native GUI and Command Line tools for uploading apps binary to iTunes Connect. This will assistance to script all the infrastructure equally code and enable them to the Continuous Integration server. Let me know how you are uploading your iOS apps to iTunes Connects? Share your experiences in the comments below

Like this post from XCBlog By XCTEQ ? Yous may also similar some of our services like guest blogging or Mobile DevOps(CI/CD) or Examination Automation. Chekout our service due south, open source projects on Github or Follow us on Twitter , Facebook , Youtube , LinkedIn . Download Our XCBlog iOS App to read the blogs offline.

XCTEQ Limited: Mobile DevOps, CI/CD and Automation

X CTEQ is a company specialised in Mobile DevOps, CI/CD, Mobile, AI/ML based Test Automation Checkout XCTEQ products and services at http://www.xcteq.co.uk or write to us on info@xcteq.co.u.k...

webstergeoplegatill.blogspot.com

Source: https://medium.com/xcblog/5-tools-for-uploading-ios-apps-to-itunes-connect-d8afa436c415

Post a Comment for "How to Upload Build to Itunes Connect Xcode Alternative"