Today do map function, real machine test, Xcode console output
Metal GPU Frame Capture Enabled: You can use the GPU frame Capture
Metal API Validation Enabled: APIs can be used Validation
What is a GPU Frame capture? This thought is Xcode a bug, the Internet check a bit, think also quite advanced: Friendship Link: http://www.cnblogs.com/TracePlus/p/4093830.html Thank original author to share.
Read a half-day indefinitely, we first say, how to set up the GPU Frame Capture:
Menu select Edit Schemes-->run--options to find the GPU Frame Capture, which is set by default automatically Enabled, but because gles and metal exist at the same time, It is recommended that you force the setting to OpenGL ES or metal (for example, UE4 based app).
It is worth noting: this GPU Frame Capture only when the real run-time, the emulator does not exist. So this function can only be debugged on the real machine.
PS: Finally, this is not a mistake, but a technical point