How to upload to App Store from command line with Xcode 11? : <p>Previously, with Xcode 10, we were using <code>altool</code> to upload to App Store:</p>

<pre class="lang-sh prettyprint-override"><code>ALTOOL="/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool"
"$ALTOOL" --upload-app --file "$IPA_PATH" --username "$APP_STORE_USERNAME" --password @keychain:"Application Loader: $APP_STORE_USERNAME"
</code></pre>

<p>But with Xcode 11, "Application Loader.app" doesn't exist anymore, as part of <a href="https://developer.apple.com/documentation/xcode_release_notes/xcode_11_beta_release_notes/" rel="noreferrer">the Xcode 11 changes</a>:</p>

<blockquote>
  <p>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)</p>
</blockquote>

<p>So how do we upload from command line to TestFlight or App Store now?</p>
