Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 12.5.1 is not available in macos-11 image #6172

Closed
1 of 10 tasks
polqf opened this issue Aug 31, 2022 · 2 comments
Closed
1 of 10 tasks

Xcode 12.5.1 is not available in macos-11 image #6172

polqf opened this issue Aug 31, 2022 · 2 comments

Comments

@polqf
Copy link

polqf commented Aug 31, 2022

Description

Up until some time from now, macos-11 was having Xcode 12.5.1 installed. This is also stated in the Xcode section in the README.

But some days ago we started seeing this error message:
Cannot find an installed Xcode satisfying '~> 12.5.1'

After adding some logs, I can see that there are only 2 Xcode available, out of the 6 that are listed in the README

Run mdfind "kMDItemCFBundleIdentifier = 'com.apple.dt.Xcode'"
/Applications/Xcode_13.2.1.app
/Applications/Xcode_13.0.app

Platforms affected

  • Azure DevOps
  • GitHub Actions

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

2.296.0

Is it regression?

Yes

Expected behavior

All the Xcode versions listed in the README should be available in the image

Actual behavior

Only Xcode 13.2.1 and 13.0 are available

Repro steps

Just try to use 12.5.1 in macos-11

@al-cheb
Copy link
Contributor

al-cheb commented Aug 31, 2022

@polqf, hey.

It works as expected. To set up Xcode version I use the ctions/setup-xcode-version task:

image

If you use xcversion to detect Xcode there is a bug - xcpretty/xcode-install#465

@al-cheb
Copy link
Contributor

al-cheb commented Aug 31, 2022

close as external xcpretty/xcode-install#204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants