maxim-lobanov / setup-xcode

Set up your GitHub Actions workflow with a specific version of Xcode
MIT License
280 stars 28 forks source link

Xcode 14.2 #60

Closed hongbo-miao closed 1 year ago

hongbo-miao commented 1 year ago

I recently updated to Xcode 14.2 to use iOS 16.2. However, it sometimes succeed: https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3711799584/jobs/6292625140

Run maxim-lobanov/setup-xcode@v1
  with:
    xcode-version: 14.2
  env:
    BUNDLE_GEMFILE: /Users/runner/work/hongbomiao.com/hongbomiao.com/mobile-ios/Gemfile
Switching Xcode to version '14.2'...
Xcode is set to 14.2.0 (14C18)

Sometimes failed: https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3713593953/jobs/6296420936

Run maxim-lobanov/setup-xcode@v1
  with:
    xcode-version: 14.2
  env:
    BUNDLE_GEMFILE: /Users/runner/work/hongbomiao.com/hongbomiao.com/mobile-ios/Gemfile
Switching Xcode to version '14.2'...
Available versions:
┌─────────┬──────────┬─────────────┬─────────────┬────────┬──────────────────────────────────┐
│ (index) │ version  │ buildNumber │ releaseType │ stable │               path               │
├─────────┼──────────┼─────────────┼─────────────┼────────┼──────────────────────────────────┤
│    0    │ '14.1.0' │  '14B47b'   │    'GM'     │  true  │  '/Applications/Xcode_14.1.app'  │
│    1    │ '14.0.1' │  '14A400'   │    'GM'     │  true  │ '/Applications/Xcode_14.0.1.app' │
│    2    │ '14.0.0' │  '14A309'   │    'GM'     │  true  │  '/Applications/Xcode_14.0.app'  │
│    3    │ '13.4.1' │  '13F100'   │    'GM'     │  true  │ '/Applications/Xcode_13.4.1.app' │
│    4    │ '13.4.0' │  '13F17a'   │    'GM'     │  true  │  '/Applications/Xcode_13.4.app'  │
│    5    │ '13.3.1' │  '13E500a'  │    'GM'     │  true  │ '/Applications/Xcode_13.3.1.app' │
│    5    │ '13.2.1' │  '13C100'   │    'GM'     │  true  │ '/Applications/Xcode_13.2.1.app' │
│    7    │ '13.1.0' │ '13A1030d'  │    'GM'     │  true  │  '/Applications/Xcode_13.1.app'  │
└─────────┴──────────┴─────────────┴─────────────┴────────┴──────────────────────────────────┘
Error: Could not find Xcode version that satisfied version spec: '14.2'

Any idea?

BTW, thanks for this library! It is so convenient! 😃

simonbromberg commented 1 year ago

The versions of Xcode that are available on GitHub's machines are managed by GitHub. They must still have some machines that have not been updated yet. It may resolve on its own in a few days, or you could create an issue on the GitHub Actions repo: https://github.com/actions/runner-images

hongbo-miao commented 1 year ago

I see, thanks for the info @simonbromberg ! I will wait for a while as it is a new version, so I guess it takes some time to be installed on all machines.

hongbo-miao commented 1 year ago

I created the ticket at https://github.com/actions/runner-images/issues/6796 for tracking purpose.