Skip to content

Document the macOS Metal Toolchain prerequisite #75

Closed

Description

@Kevinjohn

I found one small macOS setup step that would save new contributors a failed build.

The macOS guide installs Xcode Command Line Tools but does not mention GPUI's Metal compiler requirement.

  • Reproduce: follow the documented Command Line Tools setup, then resolve metal from that developer directory.
  • Expected: the documented setup provides the compiler needed by the GPUI shader build.
  • Result: xcrun exits 72 because metal is unavailable; CONTRIBUTING.md contains 0 MetalToolchain references.

With Xcode 26.6, the component can be installed with:

xcodebuild -downloadComponent MetalToolchain

The setup can then be verified with xcrun metal --version. I have a focused documentation-only change ready and can follow with a pull request.

Actual screenshot

This uses the Command Line Tools developer directory for the before case, then the installed full Xcode toolchain on the same Mac for comparison:

Terminal showing no MetalToolchain documentation, the Command Line Tools metal lookup failure, and a successful full Xcode metal version check

Activity

  1. added
    documentation
    platform:macos
    and removed
    documentation
    platform:macos
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions