2018-12-19 14:07:54.591104+0800 game-mobile[15375:5661073] [DYMTLInitPlatform] platform initialization successful
2018-12-19 14:07:54.731857+0800 game-mobile[15375:5660917] info: CocosAnalytics ==> enableLoggin
2018-12-19 14:07:54.751737+0800 game-mobile[15375:5660917] Metal GPU Frame Capture Enabled
2018-12-19 14:07:54.752227+0800 game-mobile[15375:5660917] Metal API Validation Enabled
{
gl.supports_OES_map_buffer: true
gl.supports_vertex_array_object: true
cocos2d.x.version: Cocos2d-x-lite v1.8.2
gl.vendor: Apple Inc.
gl.supports_PVRTC: true
gl.renderer: Apple A10 GPU
cocos2d.x.compiled_with_profiler: false
gl.version: OpenGL ES 2.0 Metal - 58.4
gl.max_texture_size: 4096
gl.supports_ETC1: false
gl.supports_BGRA8888: false
cocos2d.x.build_type: DEBUG
gl.max_texture_units: 8
gl.max_samples_allowed: 4
gl.supports_OES_packed_depth_stencil: true
gl.supports_NPOT: true
gl.supports_discard_framebuffer: true
cocos2d.x.compiled_with_gl_state_cache: true
gl.supports_OES_depth24: true
}
Initializing JavaScriptCore
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.
JS: Cocos2d-x-lite v1.8.2
ERROR: TypeError: undefined is not an object (evaluating ‘__audioSupport.format’), location: src/cocos2d-jsb.js:20638:41
STACK:
src/cocos2d-jsb.js:20638:41
newRequire@src/cocos2d-jsb.js
22
src/cocos2d-jsb.js
28
src/cocos2d-jsb.js:20809:30
newRequire@src/cocos2d-jsb.js
22
src/cocos2d-jsb.js
28
src/cocos2d-jsb.js:21056:14
newRequire@src/cocos2d-jsb.js
22
src/cocos2d-jsb.js
28
src/cocos2d-jsb.js:29163:14
newRequire@src/cocos2d-jsb.js
22
src/cocos2d-jsb.js
28
src/cocos2d-jsb.js:78721:14
newRequire@src/cocos2d-jsb.js
22
outer@src/cocos2d-jsb.js:18:54
src/cocos2d-jsb.js:20:5
global code@src/cocos2d-jsb.js:79065:3
require@[native code]
global code@main.js:189:12
[ERROR] Failed to invoke require, location: /Users/xcz/project/yijie-client/YJGame/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:211
ScriptEngine::runScript script jsb-adapter/engine/index.js, buffer is empty!
[ERROR] Failed to invoke require, location: /Users/xcz/project/yijie-client/YJGame/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:211
ERROR: TypeError: undefined is not an object (evaluating ‘cc.game.run’), location: main.js:161:12
STACK:
boot@main.js:161:12
global code@main.js:191:16
2018-12-19 14:07:55.246512+0800 game-mobile[15375:5660917] cocos2d: surface size: 2208x1242
求问是因为什么?