EXC_BAD_ACCESS at lauch for EAGLContext renderbufferStorage: fromDrawable: in Cocos2d app whie debug

来源:互联网 发布:淘宝天猫返利机器人 编辑:程序博客网 时间:2024/05/14 08:29
当遇到

EXC_BAD_ACCESS at lauch for EAGLContext renderbufferStorage: fromDrawable: in Cocos2d app whie debugging


的时候 解决方法为:


accepted

Looks like this is an issue on certain devices on iOS 8.3+. It works for me on almost all devices but the iPad mini 2 fails for me as well. The short of it is that there's nothing wrong with the call itself. Seems to be an Xcode bug with those devices for some reason. You can get around it (until Apple fixes it) by:

In Xcode, go to Product -> Scheme -> Edit Scheme ...And for the Run Debug configuration (on left side) choose "Options" (on right side) and configure "GPU Frame Capture" as Disabled.




具体请看:

http://stackoverflow.com/questions/31398961/exc-bad-access-at-lauch-for-eaglcontext-renderbufferstorage-fromdrawable-in-co/31483927#comment51270815_31483927



0 0
原创粉丝点击