We ended up precompiling our shaders to metallib files and checking those in, just to get CI to work consistently on Xcode 26.

You can create a ShaderLibrary from a metallib url. If you go this route, make sure to cache your ShaderLibrary instance because it is expensive to generate.

In case anyone else needs to do this, put up a quick gist here: https://gist.github.com/pixelmatrix/86f8816c68fa1435e1a0124af894e651
Pre-compile Metal shaders to avoid Xcode 26 CI issues

Pre-compile Metal shaders to avoid Xcode 26 CI issues - ShaderLibrary+Convenience.swift

Gist