Uh oh!
There was an error while loading. Please reload this page.
Upgrade our macOS build machines to the latest image - #109454
Conversation
jkoritzinsky
commented
Nov 1, 2024
/backport to release/9.0-staging |
jkoritzinsky
commented
Nov 1, 2024
/backport to release/8.0-staging |
Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/11633383083 |
Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/11633385070 |
jkoritzinsky
commented
Nov 1, 2024
Apparently AzDO doesn't support all of the images specified in https://github.com/actions/runner-images/blob/main/README.md. I guess I'll move us to macOS-13 (the last tag that corresponds to an x64 image) and we'll need to go through this song-and-dance again when that pool is deprecated. |
jkoritzinsky
commented
Nov 1, 2024
/backport to release/9.0-staging |
jkoritzinsky
commented
Nov 1, 2024
/backport to release/8.0-staging |
Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/11633597484 |
Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/11633599152 |
jkoritzinsky
commented
Nov 1, 2024
vcsjones
commented
Nov 1, 2024
@akoeplinger this looks related to enabling Swift linking on iOS that was done in #104383. Any chance something jumps out at you as the cause of the issue? |
akoeplinger
commented
Nov 4, 2024
@vcsjones looks like this is because we're now compiling using Xcode 15.4 on the AzDO build machine but the Helix machine is still using Xcode 14.3 and the static .a contains references to some swift libraries that the earlier Xcode doesn't provide. In general it seems Swift doesn't provide module backwards compatibility to earlier Xcode versions: https://developer.apple.com/forums/thread/749540 Some options:
|
I just saw that the 8.0/9.0 backport PRs using macos-13 are using Xcode 15.2 and apparently don't run into that issue so that's probably the quickest option. It doesn't solve the official build problem in main (where we're using an image with Xcode 15.4 on it) since it effectively means we don't support earlier Xcodes anymore. /cc @vitek-karas |
steveisok
commented
Nov 4, 2024
|
steveisok
commented
Nov 4, 2024
I would prefer if we can get away w/ xcode latest. |
rolfbjarne
commented
Nov 4, 2024
Currently it's possible to submit apps with Xcode 15 (presumably 15.0): "All iOS and iPadOS apps uploaded to App Store Connect must be built with a minimum of Xcode 15 and the iOS 17 SDK" (https://developer.apple.com/ios/submit/). Xcode 15.[0-2]'s minimum macOS version is macOS 13.5 (https://xcodereleases.com/?scope=release). Bumping to Xcode 15.3+ also means bumping the min macOS version to macOS 14.0 (https://xcodereleases.com/?scope=release). This is a severe problem for people whose Macs can't update to macOS 14.0, which means that backporting this change to .NET 8 can mean a service update may force people to buy new Macs... I think it's fine to bump the Xcode requirement to Xcode 15.2 though, everybody who's publishing apps to the App Store today should be able to upgrade to Xcode 15.2. |
jkoritzinsky
commented
Nov 4, 2024
I'll change this PR back to using macOS 13 for now. |
vitek-karas
commented
Nov 4, 2024
/fyi @matouskozak |
If we keep using Xcode 15.2 then we could probably also switch to the macos-14 image since minor versions should still be there even after actions/runner-images#10703 (we'd need to add a step to set 15.2 as the selected Xcode version) That said, I worry a bit for the official builds going forward since |
jkoritzinsky
commented
Nov 5, 2024
We'll likely have to follow this up in a few months with a move to the macOS14 image when the macOS15 one is out. But for now I'll merge this in. |
jkoritzinsky
commented
Nov 5, 2024
/ba-g tools timeout known |
akoeplinger
commented
Nov 5, 2024
Another option would be to revive #108318 and get rid of the Swift code in the PAL. |
bartonjs
commented
Nov 5, 2024
No. |
The
macOS-12image has been deprecated and will be removed in early December.Let's move our macOS builds to use the
macos-latestimage.This is the public equivalent of the 'macos-latest-internal' image we use for official builds already.
We need to backport this to enable public builds in our servicing PRs.