My app crashes on iOS 11 beta 4 (15A5327g) when [EAGLContext presentRenderbuffer:] method is called. It happens only when I debugging in Xcode. When I launch app manually it doesn't crashed. On versions lower than iOS 11 beta 4 it doesn't crashed as well. How can I prevent this issue? You can see crash details in screenshot
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Hodge's workaround works. Here is a screenshot of how to set the GPU Frame Capture argument to "Disabled" (in "Edit Scheme" window)
回答2:
I was experiencing this same issue and a workaround I discovered is to disable GPU frame capture in my Xcode product scheme.
回答3:
disable frame capture in scheme, then crash disppeared