Cocos 2d-x template project error when run with marmalade

Hi.
I am using airplay template project of cocos2d-1.0.0-x-0.9.0 with marmalade , when i build and run this in Simulator ( Debug | s3e_simulator_debug) then process run without stop in breakpoints. In gdb console displayed many messages: “ERROR: 5 in device 25”. What is means? and How to fix it?
Thanks in advance.

hi.
Marmalade osX sdk has no support for accelerometer and cocos2d-x is trying to initializing it. Therefore, you are getting the error.
Comment the line which calls the function ccAccelerationUpdate() in file CCApplication_airplay.cpp . Your problem will be solved.