cocos2d-x 2.2 crashes when app goes to background

I found cocos2d-x 2.2 version’s bug.

when app goes to background, crash happen at:

EAGLView.mm

  • (void) swapBuffers

if ( <= EXC_BAD_ACCESS happen)

and when I set project Deployment Target to 7.0,

Undefined symbols for architecture armv7: message happens.

set to 6.1, no problem.

How can I solve this?