title: How to fix error with xcodebuild in GitHub Actions
body: <p>I'm trying to setup a CI with my private Swift project in Github using GitHub Actions. I've used the standard swift.yml template provided by Github with some modifications. Here is the file <code>ci.yml</code></p>
  
  <pre><code>name: Swift
  
  on: [push]
  
  jobs:
    build:
  
      runs-on: macOS-latest
  
      steps:
      - uses: actions/checkout@v1
      - name: Run tests
        run: xcodebuild -project 'MyApp.xcodeproj' -scheme 'MyApp' -destination 'platform=iOS Simulator,name=iPhone 11 Pro Max,OS=13.2' clean test
      - name: Build App
        run: xcodebuild -project 'MyApp.xcodeproj' -scheme 'MyApp' -destination 'generic/platform=iOS' -configuration Release build CODE_SIGNING_ALLOWED=NO
  </code></pre>
  
  <p>When I push a new build to the repo the action triggers but it is failing at the test.  </p>
  
  <pre><code>xcodebuild -project 'MyApp.xcodeproj' -scheme 'MyApp' -destination 'platform=iOS Simulator,name=iPhone 11 Pro Max,OS=latest' clean test
  </code></pre>
  
  <p>I ran locally and all tests pass. On GitHub Actions I'm presented with this error</p>
  
  <pre><code>Set up job                  0s
  Run actions/checkout@v1     2s
  Run tests                   34s
      ##[error]Process completed with exit code 70.
  1     Run xcodebuild -project 'MyApp.xcodeproj' -scheme 'MyApp' -destination 'platform=iOS Simulator,name=iPhone 11 Pro Max,OS=13.2' clean test
  4        xcodebuild: error: Unable to find a destination matching the provided destination specifier:
  5             { platform:iOS Simulator, OS:13.2, name:iPhone 11 Pro Max }
  6
  9        Ineligible destinations for the "MyApp" scheme:
  10           { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
  11           { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
  12    ##[error]Process completed with exit code 70.
  Build App                   0s
  Complete job
  </code></pre>
  
  <p>This test should be passing. I'm not sure how to fix this an move forward so the Action no longer fails</p>