Xcode 13 metal frame capture cannot see shader source code

After I upgrade to Xcode13, I find that when I do a metal frame capture, I can no longer see shader source code as before. Double click shader function will show a dialog like this:

Does anyone have the same problem?

Answered by Graphics and Games Engineer in 689499022

I believe this is an Xcode/SDK mismatch. For macOS 11 Metal development, Xcode 12 should be used. For macOS 12 Metal development, Xcode 13 Beta should be used (which ships with macOS 12 SDK). Let us know if that resolves the issue.

Accepted Answer

I believe this is an Xcode/SDK mismatch. For macOS 11 Metal development, Xcode 12 should be used. For macOS 12 Metal development, Xcode 13 Beta should be used (which ships with macOS 12 SDK). Let us know if that resolves the issue.

Xcode 13 metal frame capture cannot see shader source code
 
 
Q