metal shader source debugger

Hi,


Trying to use the Source Debugger for Metal Shader, but even if I set correctly the debug option : "Yes, include source code"


When I invoke it, I get the dialog box asking me to set the option above...


Maybe still a bug in the Xcode 10 beta ?


Cheers


Gerard

Replies

Hi Gerard,


This is a known issue, please try pointing to the Xcode-beta.app using xcode-select (ie: from terminal, "sudo xcode-select -s <your Xcode-beta.app path>").


Please let us know if this fixes the problem you're seeing.


Thanks,

Alp

Hi,


thank you for the response, no it doesn't seem to solve the issue.


I cleaned the project, rebuilt everything, but no way, it is a small project, just for testing.


I got some error 512 in the process at some time.


Regards


Gerard

Well, I have Mojave installed now and it does work with Xcode 10 under Mojave


I forgot to mention that my issue happen with Xcode 10 under the last version of High Sierra

You can also set this in Xcode Preferences -> Locations -> Command Line Tools: Xcode 10.0


That fixed the problem for me.

What this using macOS 10.13.5?