Skip to content

Conversation

@adincebic
Copy link
Contributor

@adincebic adincebic commented Jul 21, 2025

Fixes:

Error: TOOLCHAINS was set to 'com.apple.dt.toolchain.Metal.32023' but the default toolchain was found, that likely means a matching toolchain isn't installed

Apparently $toolchain either was never set for Metal toolchains in earlier Xcode versions or Xcode didn't complain when it was set in action_env. I tested on Xcode 16 and it was never there while it definitely shows up in Xcode 26 Beta 3.

I think version check may not be needed here at all. If yes, please do let me know what would be suggested way of performing the check. I tried calling xcodebuild -version but that seem to randomly fail for some people so I removed it.

@adincebic adincebic requested a review from a team as a code owner July 21, 2025 13:29
@adincebic adincebic force-pushed the adin/fix-metal-toolchains branch 2 times, most recently from 7e67c4d to 03ba4c1 Compare July 23, 2025 04:48
@adincebic adincebic force-pushed the adin/fix-metal-toolchains branch from ec3303c to a1343c7 Compare July 24, 2025 20:21
@brentleyjones
Copy link
Contributor

Please squash and sign off on the git commit to pass DCO. Then we can merge this.

@adincebic adincebic force-pushed the adin/fix-metal-toolchains branch from fc3d8f8 to b3c8709 Compare July 25, 2025 17:31
@adincebic
Copy link
Contributor Author

Please squash and sign off on the git commit to pass DCO. Then we can merge this.

@brentleyjones done.

@brentleyjones brentleyjones merged commit 64e9631 into MobileNativeFoundation:main Jul 25, 2025
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants