ios模拟运行正常,真机报错cc.game is undefined

creator1.4.0

cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
Cocos2d-JS v3.14
(evaluatedOK == JS_FALSE)
/var/containers/Bundle/Application/73C6D272-C514-46B3-A63A-D61D99BC64FA/XiaoNiu-mobile.app/src/jsb_polyfill.js:28639:TypeError: cc.game is undefined

这个jsb_polyfill报错的地方:

cc.initEngine = function(config, cb) {
require(“script/jsb.js”);
cc._renderType = cc.game.RENDER_TYPE_OPENGL;
cc._engineLoaded = true;
originLog(cc.ENGINE_VERSION);
cb && cb();
};

没研究过这个jsb_polyfill, 看起来是cc.game没初始化好, 这些代码是生成的,我该怎么修改?