So your mistake is that, @Scene::update@ and @addChild@ haven't been wrapped by CC_USE_PHYSICS in CCScene.h