Enable Xcode Shader Debugger?

I’m trying to enable this setting (change “Produce debugging information” for Debug to “Yes, include source code” Debugging the shaders within a draw command or compute dispatch | Apple Developer Documentation) to be able to get a line-by-line breakdown of my shader performance, but I can’t find the “Produce debugging information” option anywhere in the Xcode project. Is there a setting I need to change in Unity before building? Or is this some kind of configuration issue?

Unity 2021.3.12f1, MacOS 13.2.1, Xcode 14.3

1 Like

This is not needed (at least not now)
This is an option for metal shader compiler, and we will compile shaders at runtime from the source, so xcode will have source available