OC和CC项目JS交互报错,cc.find('Canvas').getComponent('Loading').reloadGame(); failed (evaluatedOK == JS_FALSE)

在论坛上也搜到这个问题,但并没有看到解决方案啊。不知道哪里错了。
Xcode9 下 CC1.6项目
OC代码:
ScriptingCore::getInstance()->evalString(“cc.find(‘Canvas’).getComponent(‘Loading’).reloadGame();”);

报错信息:
Evaluating cc.find(‘Canvas’).getComponent(‘Loading’).reloadGame(); failed (evaluatedOK == JS_FALSE)
JS Exception: cc.find(…).getComponent(…) is null, file: , lineno: 1
JS:
reloadGame:function(){
// cc.director.resume();
console.log("reloadgame resume ");
},
求大佬指点如何处理。。。

已解决,用的这个。ScriptingCore::getInstance()->evalString(“Loading.reloadGame();”); 在js将reloadGame方法放在window里面