error on ios xcode

i followed the tutorial to deploy html5 via jsb using 2dx 2.2.2
i faced issues with Color3B, Color4B, cc.point, etc not being a valid constructor.

I stripped the codes bare and left LabelTTF codes intact… it worked!?

Can someone please help? I need to deliver a project soon… following is the error messages from XCode if i restored all my other codes in the first JS scene:

2014-02-10 16:45:12.627 apocWar[1843:70b] cocos2d: surface size: 640x1136
Cocos2d:

cocos2d.x.version: 2.2.2
cocos2d.x.compiled_with_profiler: false
cocos2d.x.compiled_with_gl_state_cache: true
gl.vendor: Apple Computer, Inc.
gl.renderer: Apple Software Renderer
gl.version: OpenGL ES 2.0 APPLE-9.2.1
gl.max_texture_size: 4096
gl.max_texture_units: 8
gl.max_samples_allowed: 4
gl.supports_PVRTC: true
gl.supports_NPOT: true
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: true
gl.supports_vertex_array_object: true

Cocos2d: Get data from file(cocos2d-jsb.jsc) failed!
Cocos2d: Get data from file(jsb.jsc) failed!
Cocos2d: Get data from file(jsb_cocos2d_constants.jsc) failed!
Cocos2d: Get data from file(jsb_cocos2d.jsc) failed!
Cocos2d: Get data from file(jsb_cocos2d_extension.jsc) failed!
Cocos2d: Get data from file(jsb_cocos2d_studio.jsc) failed!
Cocos2d: Get data from file(jsb_chipmunk_constants.jsc) failed!
Cocos2d: Get data from file(jsb_chipmunk.jsc) failed!
Cocos2d: Get data from file(jsb_opengl_constants.jsc) failed!
Cocos2d: Get data from file(jsb_opengl.jsc) failed!
Cocos2d: Get data from file(jsb_cocosbuilder.jsc) failed!
Cocos2d: Get data from file(jsb_sys.jsc) failed!
Cocos2d: Get data from file(jsb_deprecated.jsc) failed!
Cocos2d: JS: localStorage = [object Object]

Cocos2d: JS: capabilities = [object Object]

Cocos2d: JS: os = ios

Cocos2d: JS: platform = mobile

Cocos2d: JS: version = 2.2.2 - 0.3-beta

Cocos2d: JS: garbageCollect = function () {
jsc.garbageCollect();
}

Cocos2d: JS: dumpRoot = function () {
jsc.dumpRoot();
}

Cocos2d: JS: restartVM = function () {
__restartVM();
}

Cocos2d: JS: opengl = true

Cocos2d: JS: accelerometer = true

Cocos2d: JS: touches = true

Cocos2d: Get data from file(src/resource.jsc) failed!
Cocos2d: Get data from file(src/myAppScene.jsc) failed!
Cocos2d: JS: /Users/dsta/Library/Application Support/iPhone Simulator/7.0.3/Applications/4E9E25EB-9C8D-4B72-8B64-821022F2C829/apocWar.app/src/myAppScene.js:22:TypeError: cc.Color4B is not a constructor

Hi,

The Color3B, Color4B, cc.point constructors hasn’t been bind to JSB
Instead, you can use: cc.c3b cc.c4b cc.c4f cc.red… cc.p
These functions works well and even more, they are faster than original class constructors.

Huabin