I try to develop an app on iOS. I’m using source code from git://github.com/cocos2d/cocos2d-x.git repo and provided XCode template.
To be able to compile the code I had to change manually:
#include “jsb_cocos2dx.hpp” => #include “jsb_cocos2dx_auto.hpp” in AppDelegate.cpp
After that code compiles fine.
Unfortunately app crashes when when this code is executed: sc->addRegisterCallback;
any ideas how to fix that?