Hi
I have implemented script native bridge module by following docs url.
This works on android platfrom on window OS but does not work on iOS platform on the mac OS.
I suspect cocos dashboard is not reconizing the custom cocos2d-x engine source.
How would I resolve this problem?
Thank you in advance.
https://docs.cocos.com/creator/2.4/manual/en/advanced-topics/engine-customization.html
https://docs.cocos.com/creator/manual/en/advanced-topics/js-oc-bridge.html
https://docs.cocos.com/creator/manual/en/advanced-topics/jsb-bridge-wrapper.html
======== Cocos Dashboard error message ========
Loading custom engine failed! The editor has switched back to the builtin engine. Please go to Perference panel to set the correct engine path.
Error call stack: ReferenceError: ScriptNativeBridge is not defined
at Object.get [as bridge] (/Users/xxx/Documents/workspace/CocosEnv/Engine/creator/bin/.cache/dev/cocos2d/core/platform/CCNative.js:164:34)
at __define (/Users/xxx/Documents/workspace/CocosEnv/Engine/creator/bin/.cache/dev/cocos2d/core/platform/CCNative.js:257:21)
at /Users/xxx/Documents/workspace/CocosEnv/Engine/creator/bin/.cache/dev/cocos2d/core/platform/CCNative.js:266:25
at Object. (/Users/xxx/Documents/workspace/CocosEnv/Engine/creator/bin/.cache/dev/cocos2d/core/platform/CCNative.js:273:19)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.p (/Applications/Cocos/Creator/2.4.13/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/share/require.js:1:1814)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require [as __require] (internal/modules/cjs/loader.js:959:19)