Sample Code

Supporting Simulator in a Metal App

Modify Metal Apps to Run in Simulator.

Download

Overview

Configure the Sample Code Project

Before you run the sample code project in Xcode:

  • Make sure your Mac is running macOS 10.15 or later.

  • Make sure you are running Xcode 11 or later.

See Also

Tools

Developing Metal Apps that Run in Simulator

Prototype and test your Metal apps in Simulator.

Frame Capture Debugging Tools

Analyze and optimize your app performance at runtime.

Using Metal System Trace in Instruments to Profile Your App

Smooth out your frame rate by checking for issues in your app's CPU and GPU utilization.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software