How to Toggle Metal API Validation in your Xcode Project

Tech Notes
2 min readMay 3, 2024

Look for the scheme name at the top of your editor in the “gutter”. It should be to the right of the play button. See image below, it is circled in green. Mine is called TAIGA, but yours will reflect your own scheme name.

Click on that scheme and then select “Edit Scheme” from the drop down menu.

In the left side panel you will see several choices, choose “Run”

You may of course enable and disable metal API validation for any of these build stages, but I will start with this one, to see if I can get better runtime performance for example, or to debug issues with the Metal API.

Toggle Metal API validation here.

If you haven’t joined Medium but would love to, click here. By signing up for Medium through my referral link, I will receive a small commission.

--

--