DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Delivering Your Code to the Cloud With JFrog Artifactory and GitHub Actions
  • Automating Developer Workflows and Deployments on Heroku and Salesforce
  • Achieving Micro-frontend Architecture Using Angular Elements
  • CI/CD Using Maven With Connected Applications in Anypoint Platform for Runtime Fabric

Trending

  • The Human Side of Logs: What Unstructured Data Is Trying to Tell You
  • Hybrid Cloud vs Multi-Cloud: Choosing the Right Strategy for AI Scalability and Security
  • Apache Doris vs Elasticsearch: An In-Depth Comparative Analysis
  • The Cypress Edge: Next-Level Testing Strategies for React Developers
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. 5 Tools for Uploading iOS Apps to iTunes Connect

5 Tools for Uploading iOS Apps to iTunes Connect

These helpful tools will help simplify the series of complex tasks that developers must complete to upload their iOS apps to iTunes Connect.

By 
Shashikant Jagtap user avatar
Shashikant Jagtap
·
Jan. 15, 18 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
10.5K Views

Join the DZone community and get the full member experience.

Join For Free

iOS applications don't go to iTunes Connect easily. It takes the blood, sweat, and tears of engineers with them. It involves various complex tasks before an app hits iTunes Connect. Surely, every iOS engineer must have felt that pain at least once in their 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, so I will try to keep it short and sweet. In this post, we will what are the ways you can upload app binary to iTunes Connect.

GUI Tools

1] Local Xcode

In the past, everybody did it using a local Xcode machine to archive the app and upload it to iTunes Connect. If you are lazy, then you might still be doing it this way. Ideally, all this archiving and uploading should happen from a continuous integration server. Anyway, Xcode is the very simple way to upload builds to iTunes Connect.

The Apple Developer portal has a step by step guide on how to do this, literally like feeding a baby. You can read it here.

2] Application Loader

Application Loader is another tool that comes with Xcode. We can access the Application Loader from Xcode > Open Developer Tool > Application Loader. You have to log into the Application Loader tool with your Apple ID.

Again, Apple has great step by step documentation on how to use the Application Loader here.

Command Line Tools

3] Fastlane

Fastlane became a very popular tool for Continuous Delivery of iOS applications these days as it wrapped all the complex Apple Developer tools under the hood. Fastlane has subtool called Deliver, which is used to upload iOS apps to iTunes Connect. With Deliver, you can send iOS apps to iTunes Connect or even submit them to the App Store using the following configuration in the Fastfile, which is a config file for Fastlane.

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

Also, there are various other options that you can add, which can found here.

Note that Fastlane Deliver uses the iTMSTransporter tool (which we will look in the after this) under the hood to upload apps to iTunes Connect.

4] iTMSTransporter

An iTMSTransporter stands for iTunes Music Store Transporter, which is Apple's weird Java-based command-line tool to upload app binaries, upload screenshots, update app metadata, manage app pricing, manage in-app purchases, etc. This utility comes with Xcode so there's no need to install it explicitly as long as you have Xcode. The binary can be found here:

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

You can add above to your $PATH  so that, you can use the ITMSTransporter  directly. If you take a look at the -help them you will see different options but we will care about mode option that is -m and we can pass different things to it.

-m <arg>           The -m 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

There will be a separate post to dive deep into this tool later, but it's a three-step process:

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

There is a Ruby-based wrapper available on GitHub if you like Ruby.

Again, there is very detailed documentation on Transporter on the Apple website here.

5] altool

An altool is the command line interface for the Application Loader. We don't need to install this utility explicitly; it comes up with the latest Xcode. You can find the binary at this path:

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

Again, you might need to add this to your $PATH so that you can use  altool from anywhere. This is a very simple to use tool. If you have the IPA of your app, then you are just one command away from uploading your app to iTunes Connect.

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

You can also verify the app before uploading using the --validate-app  option. This can be used on any Continuous Integration server. There is nice little bash script to use altool on GitHub here.

Apple has brief documentation of altool here.

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

app ITunes Connect Continuous Integration/Deployment application Upload XCode

Published at DZone with permission of Shashikant Jagtap, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Delivering Your Code to the Cloud With JFrog Artifactory and GitHub Actions
  • Automating Developer Workflows and Deployments on Heroku and Salesforce
  • Achieving Micro-frontend Architecture Using Angular Elements
  • CI/CD Using Maven With Connected Applications in Anypoint Platform for Runtime Fabric

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: