Enable GPU Frame Capture when attaching to process?

Hey there-


I'm working with a UE4 title - and it would be really useful to be able to attach to a process on my iPhone in Xcode, and still be able to do GPU frame captures. I tried putting MetalCaptureEnabled in info.plist as described at: https://developer.apple.com/documentation/metal/frame_capture_debugging_tools/enabling_frame_capture?language=objc

but this did not enable the GPU capture 'camera' button.


I'm overall new to the workflow possibilities - but we follow the route of packaging the game on a remote PC - then I can launch the game and attach for normal debugging in Xcode just fine. I'm open to other suggestions - other things that could work potentially would be to launch from xcode for GPU frame captures without pushing a new IPA?


Let me know if you have any ideas!

- Blake