CMAKE_XCODE_SCHEME_ENABLE_GPU_API_VALIDATION

在 3.25 版被加入.

Populate Metal: API Validation in the Options section of the generated Xcode scheme.

This variable initializes the XCODE_SCHEME_ENABLE_GPU_API_VALIDATION property on all targets.

Please refer to the XCODE_GENERATE_SCHEME target property documentation to see all Xcode schema related properties.