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.