-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[macOS] Support policy changes; Xcode 14 and 16 will be removed from macOS 14 on November 4 #10703
Comments
This is a bit messed up since |
- Days of `macos-12` are numbered: actions/runner-images#10721 Drop 5 affected jobs, replaced by `macos-15` ones added earlier today. - Drop Xcode 14 and 16 from `macos-14` jobs. Following up upstream announcement: actions/runner-images#10703 (No active jobs are affected by this.) Follow-up to 4b4ff44 #15108 Closes #15113
Can we get a response on this? |
Hey @Cheesebaron and @LotskiAndrej! We are working on adding macOS-15 to ADO, but no ETA or promises are available now. I'll publish info in #10686 once available. |
Is there any way to use Xcode 16 currently using macOS-14 ? I run task for checking Xcode version on ADO and got this, but it says it cannot locate xcode 16 |
Yes, we have not removed
Recommended task: https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/xcode?view=azure-devops |
Thanks for the response, but since I'm using MAUI, I cannot add xcWorkspacePath, and ADO crashes if I don't enter anything.
But it cannot locate the file |
@mjosipovic-tgr, I am currently using the same command line command you are using with macOS-14 to set it to use Xcode 16 and it works fine.
I'm using the classic pipeline editor: |
I tried it few times, changed the order of the tasks in yaml, and managed to get it to work, tnx for the responses. |
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
Xcode 16 will be removed from macos-14 to cut down on the image size: actions/runner-images#10703
The version of AppleClang shipping with XCode 16 now has complete enough C++20 support to compile Flux, so we should start testing with it regularly. Unfortunately Github are enacting a policy of only providing a single XCode major version with each MacOS image (actions/runner-images#10703), so if we want to test with e.g. XCode 17+ in future we'll have to run them on different images. But that's tomorrow's problem...
The version of AppleClang shipping with XCode 16 now has complete enough C++20 support to compile Flux, so we should start testing with it regularly. Unfortunately Github are enacting a policy of only providing a single XCode major version with each MacOS image (actions/runner-images#10703), so if we want to test with e.g. XCode 17+ in future we'll have to run them on different images. But that's tomorrow's problem...
@mjosipovic-tgr Were you able to solve your issue? I am asking because I am facing the same issue currently. |
We just do our Android builds on macos-14, which continues to work fine :) |
@bengavin I get your point, but I prefer to have all systems (including dev machines) on the same os. |
* Use macOS 13 See: actions/runner-images#10721 * Upgrade to XCode 15.2 XCode 15.2 is the default on macOS 13 * Fix unqualified call to std::move warning * Fix sprintf deprecated warnings * Upgrade macOS 14 ARM64 builds to XCode 15.4 See: actions/runner-images#10703 * Fix unused lambda capture warnings in Fader.cpp * Fix unused variable warnings * Fix formatting warning Cannot format `const void*` as a string * Force lambda conversion to function pointer
A recent GitHub policy change [1] means that Xcode 16 is now only available on macOS 15 runners. (macos-latest still points to macOS 14, hence needing to now be explicit about OS verison.) [1] actions/runner-images#10703
A recent GitHub policy change [1] means that Xcode 16 is now only available on macOS 15 runners. (macos-latest still points to macOS 14, hence needing to now be explicit about OS version.) [1] actions/runner-images#10703
A recent GitHub policy change [1] means that Xcode 16 is now only available on macOS 15 runners. (macos-latest still points to macOS 14, hence needing to now be explicit about OS version.) I’ve had to bump the iOS and tvOS versions used for testing, to match what’s available on these runners. [1] actions/runner-images#10703
Hi @erik-bershel , Is there any plan to support macOS-15-arm in ADO? |
For some reason, Microsoft have decided to remove Xcode 16 from macOS 14 images. We require Xcode 16 for Swift 6. See: actions/runner-images#10703
@erik-bershel It would be nice if in the future blog posts like this one included ALL breaking changes upcoming. https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/ Since this change was not in the blog post, we were blind sided by this change, as we don't check the runner-images repository regularly for CI that has continued to work for a long time. |
For some reason, Microsoft have decided to remove Xcode 16 from macOS 14 images. We require Xcode 16 for Swift 6. See: actions/runner-images#10703 Because macOS 15 images are still in preview, their availability is much lower than macOS 14 images. To hopefully alleviate the amount of time we are waiting in the runner queue, for now this only upgrades the workflow which uses Swift.
For some reason, Microsoft have decided to remove Xcode 16 from macOS 14 images. We require Xcode 16 for Swift 6. See: actions/runner-images#10703 Because macOS 15 images are still in preview, their availability is much lower than macOS 14 images. To hopefully alleviate the amount of time we are waiting in the runner queue, for now this only upgrades the workflow which uses Swift.
Apparently, Xcode 16 was removed from `macos-14` back in October. I am not sure why it is just failing now. Related to actions/runner-images#10703.
Breaking changes
Current support policy:
New support policy:
Xcode 14
andXcode 16
will be removed from themacOS-14
image.macOS-12
andmacOS-13
images. The changes will affectmacOS-14
and all subsequent images. As a result,macOS-14
-based images will contain onlyXcode 15.x
versions,macOS-15
images will contain onlyXcode 16.x
versions, and so on.Xcode
beta
is released and there is no next revision of themacOS
image? Such abeta
will be shipped as part of the latestmacOS
image that supports thisXcode
, until the next basemacOS
image is released, for example:Xcode 16
was shipped as part ofmacOS-14
until we releasedmacOS-15
.Target date
November 4, 2024
The motivation for the changes
Recently, mainly due to the introduction of the new
visionOS
platform,macOS
-based images have grown to such sizes that they are becoming more difficult to maintain, and users are experiencing difficulties with available disk space, which is critical for completing builds. Parent issue:Possible impact
Workflows based on
macOS-14
will stop running if they depend onXcode 14
and/orXcode 16
Platforms affected
Runner images affected
Mitigation ways
Users whose workflows depend on
Xcode 14
and/orXcode 16
will be forced to use themacOS-13
image forXcode-14
and themacOS-15
image forXcode-16
, respectively. Be aware thatmacos-13
YAML label refer to Intel-based image.The text was updated successfully, but these errors were encountered: