Sample Code

Supporting Simulator in a Metal App

Modify Metal Apps to Run in Simulator.



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


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.

Optimizing Performance with the GPU Counters Instrument

Examine your app's use of GPU resources in Instruments, and tune your app as needed.