Skip to content

Metal Toolchain is missing on xcode-27 #14548

Description

@WinterLulu14

Description

Try to compile metal on xcode-27 fail

Image

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 22.04 Arm64
  • Ubuntu 24.04
  • Ubuntu 24.04 Arm64
  • Ubuntu 26.04
  • Ubuntu 26.04 Arm64
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026
  • Windows Desktop 11
  • Windows Desktop 11 with Visual Studio 2026

Image version and build link

Version: 20260810.0090.1
The failed build

Image

Is it regression?

It not a regression

Expected behavior

Try to compile metal work on macos-26

Image

Actual behavior

Try to compile metal on xcode-27 fail

Image

Repro steps

Copy paste this workflow on actions and click run workflow

name: Compile with Metal Toolchain

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
  workflow_dispatch:

jobs:
  build-shaders:
    runs-on: xcode-27

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Create Temporary Test Shader
        run: |
          # Create the src directory and generate a valid dummy shader code
          mkdir -p src
          cat << 'EOF' > src/Shaders.metal
          #include <metal_stdlib>
          using namespace metal;
          kernel void test_shader(device float *out [[buffer(0)]], uint id [[thread_position_in_grid]]) {
              out[id] = 1.0f;
          }
          EOF
      - name: Compile Metal Shaders
        run: |
          mkdir -p build
          xcrun -sdk macosx metal -O3 src/Shaders.metal -o build/default.metallib
      - name: Upload Shaders Artifact
        uses: actions/upload-artifact@v4
        with:
          name: metal-library
          path: build/default.metallib

Metadata

Metadata

Labels

Area: XcodeOS: macOSbug reportinvestigateCollect additional information, like space on disk, other tool incompatibilities etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions