I'm getting the following error..
------------------------------------------------------------
2015-06-24 10:57:50.715 Metal_Touch2[472:68884] Metal GPU Frame Capture Enabled
2015-06-24 10:57:50.717 Metal_Touch2[472:68884]
failed assertion _interposeHandle != NULL at
/BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-54.7/
Framework/MTLDevice.mm:110 MTLInitializeInterpose
(lldb)
this happens when i first call.
self.device = MTLCreateSystemDefaultDevice()
------------------------------------------------------------
I developed this app using Xcode 6 - it is written in Swift & Metal.
I upgraded to El Capitan
I upgraded to Xcode 7 Beta
I recompiled (now Swift 2.0) all my programs and tested on my iPad Air (Model 1474)
targeting iOS 8.3 - all work fine. [this includes 25 applications using 35 different shaders]
------------------------------------------------------------
I installed the iOS 9 beta 2 software.
[iOS 9 beta 2 - iPad Air (Model A1474) - 13A4280e]
Still targeting iOS 8.3 my application builds and launches.
Then errors with the above message.
note: i get the same error when i try Developer Example Code, MetalImageProcessing, MetalPerformanceShadersHelloWorld, MetalKitEssentials
Getting the same issue also with iPhone 6+ on the latest iOS9 beta and on one of the samples I downloaded.
If I switch back to using "Automatically Enabled" for the GPU Frame Capture option on our own app then it works but the GPU captures in XCode don't work. If set to "Metal" then I will get the same error that you get.