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


using default cocos2d-swift app i'm receiving error exc_bad_access on ipad mini 2 @ line:

bool rb_status = [_context renderbufferstorage:gl_renderbuffer fromdrawable:layer]; 

but if try launch app without debug works fine. if use debug on virtual device receive no error too. why doesn't work? how remove error?

looks issue on devices on ios 8.3+. works me on devices ipad mini 2 fails me well. short of there's nothing wrong call itself. seems xcode bug devices reason. can around (until apple fixes it) by:

in xcode, go product -> scheme -> edit scheme ... , run debug configuration (on left side) choose "options" (on right side) , configure "gpu frame capture" disabled.

for more information, check out thread: https://github.com/bradlarson/gpuimage/issues/2022#issuecomment-118943746


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -