actions / runner-images

GitHub Actions runner images
MIT License
10.16k stars 3.06k forks source link

Update Xcode 16 RC (16A242) to Xcode 16 (16A242d) #10629

Closed enricenrich closed 1 month ago

enricenrich commented 1 month ago

Tool name

Xcode

Tool license

Propietary with open-source components

Add or update?

Desired version

16 (16A242d)

Approximate size

No response

Brief description of tool

No response

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

Runner images where you need the tool

Can this tool be installed during the build?

No response

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

enricenrich commented 1 month ago

Related to this issue: https://github.com/actions/runner-images/issues/10583

Today, Apple released an update for Xcode 16 (16A242d) (ref.), disabling the previous RC version (16A242) from being used to upload builds to App Store Connect.

sarathrajsrinivasan commented 1 month ago

Hi @enricenrich,

We are looking into it. Will keep you posted.

bgoncal commented 1 month ago

Any ETA? Sorry to ask that, I know Apple does not make your life that easy during this period 😅

erik-bershel commented 1 month ago

Hey @enricenrich and @bgoncal!

PR merged. Xcode 16 will be delivered with the next macOS-14 image rollout.

enricenrich commented 1 month ago

Thanks for the update, @erik-bershel. When will be the next macOS-14 image rollout?

erik-bershel commented 1 month ago

When will be the next macOS-14 image rollout?

ASAP. But no promises here. We understand your need and will try to release it out of the schedule.

yosi199 commented 1 month ago

thanks guys, am also looking forward for it

erik-bershel commented 1 month ago

Rollout in progress, changes to track: https://github.com/actions/runner-images/pull/10647

fousa commented 1 month ago

Rollout in progress, changes to track: #10647

Any idea what the throughput time is?

prasanjitsahoo commented 1 month ago

Hi @fousa, VM rollout is done.

BrentMifsud commented 1 month ago

thanks for the quick turnaround. The App Store was throwing errors when trying to submit new builds with the release candidate. Hopefully this resolves it.

Light407 commented 1 month ago

Updated to XCode 16.0 (also tried 16.1) in our Build Pipeline and getting this error:

xcrun: error: unable to find utility "actool", not a developer tool or in PATH

Any ideas on what this is? Any help really appreciated. 15.4 was working (no code changes). macOS 14 image.

Light407 commented 1 month ago

This seems to work for 16.1 but other versions give actool issue:

sudo xcode-select -switch /Applications/Xcode_16.1_beta_2.app

erik-bershel commented 1 month ago

Hey @Light407!

Try switching Xcode with maxim-lobanov/setup-xcode. I think the issue is hiding in a version switching somehow.

MatMor commented 1 month ago

Hey @Light407, we fighted with the same issue. At the end, this worked on our end: sudo xcode-select -switch /Applications/Xcode_16.app/Contents/Developer

jwidmer commented 1 month ago

In case anyone else finds themselves here wondering why Xcode 16.0 is not found: We were setting the path for 16.0 in the path as: sudo xcode-select -switch /Applications/Xcode_16.0.app/Contents/Developer

but for 16.0 the path is just: sudo xcode-select -switch /Applications/Xcode_16.app/Contents/Developer

Notice Xcode_16.app instead of Xcode_16.0.app

We used: find /Applications/ -name "Xcode*.app" -type d to check the path.

daltonclaybrook commented 1 month ago

@jwidmer FYI, the paths of Xcode installations are documented in the image README files:

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