title: GitHub Action iOS CD not show on TestFlight
body: <p>I'm using GitHub Action only and the scripts is running fine, but I don't see the build on TestFlight. Did I miss something in the script? I'm following this <a href="https://engineering.talkdesk.com/test-and-deploy-an-ios-app-with-github-actions-44de9a7dcef6" rel="nofollow noreferrer">tutorial</a> for the setup. Thank you.</p>
  <h2>Deploying.yml</h2>
  <pre><code>name: Deploying
  
  on: [push]
  
  jobs:
    deploy:
      name: Deploying to Testflight
      runs-on: macOS-latest
      steps:
        - name: Checkout repository
          uses: actions/checkout@v1
          
        - name: Install gpg
          run: brew install gnupg
          
        - name: Setup provisioning profile
          env:
            IOS_KEYS: ${{ secrets.IOS_KEYS }}
          run: chmod 755 ./.github/secrets/decrypt_secrets.sh
          
        - name: Archiving project
          env:
            PR_NUMBER: $(jq --raw-output .pull_request.number &quot;$GITHUB_EVENT_PATH&quot;)
          run: chmod 755 ./.github/scripts/archive_app.sh
          
        - name: Exporting .ipa
          run: chmod 755 ./.github/scripts/export_ipa.sh
          
        - name: Publishing app
          if: success()
          env:
            APPLEID_USERNAME: ${{ secrets.APPLEID_USERNAME }}
            APPLEID_PASSWORD: ${{ secrets.APPLEID_PASSWORD }}
          run: chmod 755 ./.github/scripts/publish_testflight.sh
  </code></pre>
  <h2>decrypt_secrets.sh</h2>
  <pre><code>#!/bin/sh
  set -eo pipefail
  
  # Decrypt the files
  # --batch to prevent interactive command --yes to assume &quot;yes&quot; for questions
  gpg --quiet --batch --yes --decrypt --passphrase=&quot;$IOS_KEYS&quot; --output ./.github/secrets/Demo.mobileprovision ./.github/secrets/Demo.mobileprovision.gpg
  gpg --quiet --batch --yes --decrypt --passphrase=&quot;$IOS_KEYS&quot; --output ./.github/secrets/Certificates.p12 ./.github/secrets/Certificates.p12.gpg
  
  # Install the provisioning profiles
  mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
  
  cp ./.github/secrets/Demo.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/Demo.mobileprovision  
  
  security create-keychain -p &quot;&quot; build.keychain
  security import ./.github/secrets/Certificates.p12 -t agg -k ~/Library/Keychains/build.keychain -P &quot;&quot; -A
  
  # install distribution cert and key
  security list-keychains -s ~/Library/Keychains/build.keychain
  security default-keychain -s ~/Library/Keychains/build.keychain
  security unlock-keychain -p &quot;&quot; ~/Library/Keychains/build.keychain 
  security set-key-partition-list -S apple-tool:,apple: -s -k &quot;&quot; ~/Library/Keychains/build.keychain
  </code></pre>
  <h2>archive_app.sh</h2>
  <pre><code>#!/bin/bash
  
   set -eo pipefail
  
   xcodebuild  -workspace Demo.xcworkspace \
               -scheme Demo \
               -sdk iphoneos \
               -configuration Release \
               -archivePath $PWD/build/Demo.xcarchive \
               clean archive | xcpretty
  </code></pre>
  <h2>export_ipa.sh</h2>
  <pre><code>#!/bin/bash
  
  set -eo pipefail
  
  xcodebuild -archivePath $PWD/build/Demo.xcarchive \
              -exportOptionsPlist Demo/exportOptions.plist \
              -exportPath $PWD/build \
              -allowProvisioningUpdates \
              -exportArchive | xcpretty
  </code></pre>
  <h2>publish_testflight.sh</h2>
  <pre><code>#!/bin/bash
  
  set -eo pipefail
  
  xcrun altool --upload-app \
               --type ios \
               --file build/Demo.ipa \
               --username &quot;$APPLEID_USERNAME&quot; \
               --password &quot;$APPLEID_PASSWORD&quot; --verbose
  </code></pre>
  <h2>Demo/Demo/exportOptions.plist</h2>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;
  &lt;plist version=&quot;1.0&quot;&gt;
  &lt;dict&gt;
      &lt;key&gt;method&lt;/key&gt;
      &lt;string&gt;app-store&lt;/string&gt;
      &lt;key&gt;uploadBitcode&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;uploadSymbols&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;provisioningProfiles&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;com.app.Demo&lt;/key&gt;
          &lt;string&gt;match AppStore com.app.Demo&lt;/string&gt;
      &lt;/dict&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/P2v41.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P2v41.png" alt="enter image description here" /></a></p>