setup-xcode icon indicating copy to clipboard operation
setup-xcode copied to clipboard

Version missing

Open BLUSVNDevV opened this issue 1 year ago • 7 comments

Run maxim-lobanov/setup-xcode@v1 with: xcode-version: 16.0 Switching Xcode to version '16.0'... Available versions: ┌─────────┬──────────┬─────────────┬─────────────┬────────┬──────────────────────────────────┐ │ (index) │ version │ buildNumber │ releaseType │ stable │ path │ ├─────────┼──────────┼─────────────┼─────────────┼────────┼──────────────────────────────────┤ │ 0 │ '15.4.0' │ '15F31d' │ 'GM' │ true │ '/Applications/Xcode_15.4.app' │ │ 1 │ '15.3.0' │ '15E04a' │ 'GM' │ true │ '/Applications/Xcode_15.app' │ │ 2 │ '15.2.0' │ '15C500b' │ 'GM' │ true │ '/Applications/Xcode_15.2.app' │ │ 3 │ '15.1.0' │ '15C65' │ 'GM' │ true │ '/Applications/Xcode_15.1.app' │ │ 4 │ '15.0.1' │ '15A507' │ 'GM' │ true │ '/Applications/Xcode_15.0.1.app' │

Exepected behavior get 16.0 version. It was working till yesterday

BLUSVNDevV avatar Nov 12 '24 20:11 BLUSVNDevV

GitHub has removed Xcode 16 from its macOS 14 runners, could that be it? See https://github.com/actions/runner-images/issues/10703 for more info.

nolanw avatar Nov 13 '24 05:11 nolanw

Same problem here. Worked fine yesterday. Now I can't build my App anymore because I need the latest XCode :(

marco-kretz avatar Nov 13 '24 09:11 marco-kretz

Same here, but I depend on 14.3.1 - it was present yesterday and has disappeared today.

solidi avatar Nov 13 '24 14:11 solidi

Just gave it another try and it seems to be working fine again. At least for me.

marco-kretz avatar Nov 13 '24 14:11 marco-kretz

Hi 👋 , This action doesn't install Xcode on-flight and only switches between pre-installed Xcode versions. It might need to create an issue in https://github.com/actions/runner-images if some Xcode is not installed on image.

maxim-lobanov avatar Nov 13 '24 14:11 maxim-lobanov

Found my problem deep on the internet. Github is rolling macos-latest from 14 to 15 from november to december, so sometime it works, sometime it is not. Set runs-on: macos-15 will fix your problem with xcode 16.0.

macayer avatar Nov 13 '24 20:11 macayer

Found my problem deep on the internet. Github is rolling macos-latest from 14 to 15 from november to december, so sometime it works, sometime it is not. Set runs-on: macos-15 will fix your problem with xcode 16.0.

@macayer, thanks for your observation. The Xcode 16.1 application is gone indeed from GitHub's macOS 14.x runner image.

  • https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md

However, we can find it on GitHub's macOS 15.x. This is not ideal for some development teams, since not everyone uses the latest macOS version locally.

  • https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md

MagFer avatar Nov 14 '24 14:11 MagFer