I’m using the latest XCode and somehow it stopped me from compiling and warned me about the “return ch >= 0x0009 && ch <= 0x000D” issue. Now I think probably it stops me due to the second issue instead of this one.
I should have mentioned it’s the HelloWorldScene.cpp in xcode4 template. “cocos2d-x/template/xcode4/cocos2dx_box2d.xctemplate/Classes/HelloWorldScene.cpp”