I'm trying to debug my metal shaders in Xcode 14.2. However clicking "Capture metal GPU" while debugging recently started showing the following error:
Capturing MTLPipelineLibrary is not supported.
Unsupported method: -[MTLDevice newPipelineLibraryWithFilePath:error:]
To enable capturing, disable calls to unsupported APIs and relaunch your application.
I can't find any info about MTLPipelineLibrary
or how to disable it. I've also confirmed that Metal GPU Frame Capture
is enabled in my build
What's causing this issue and how can I work around it so I can debug my shaders again?