###creator版本:
1.61
###设备:
iphone6s,ios11
FileUtils的问题已经按照官方的pull改了。之前都没问题。
今天打包运行ios原生进游戏有黑屏。
###log:
2017-09-29 10:40:12.938680+0800 hello_world-mobile[6989:1997201] [DYMTLInitPlatform] platform initialization successful
2017-09-29 10:40:13.054280+0800 hello_world-mobile[6989:1996929] +[CATransaction synchronize] called within transaction
2017-09-29 10:40:13.145798+0800 hello_world-mobile[6989:1996929] Metal GPU Frame Capture Enabled
2017-09-29 10:40:13.146358+0800 hello_world-mobile[6989:1996929] Metal API Validation Enabled
{
gl.supports_OES_map_buffer: true
gl.supports_vertex_array_object: true
cocos2d.x.version: 1.6.1
gl.vendor: Apple Inc.
gl.supports_PVRTC: true
gl.renderer: Apple A9 GPU
cocos2d.x.compiled_with_profiler: false
gl.version: OpenGL ES 2.0 Metal - 50.8
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
}
Cocos2d-x-lite v1.6.0
ScriptingCore::compileScript fail:readline
(evaluatedOK == JS_FALSE)
Evaluating main.js failed (evaluatedOK == JS_FALSE)
2017-09-29 10:40:13.599686+0800 hello_world-mobile[6989:1996929] cocos2d: surface size: 640x1136
2017-09-29 10:40:13.624815+0800 hello_world-mobile[6989:1996929] cocos2d: surface size: 640x1136
2017-09-29 10:40:13.635009+0800 hello_world-mobile[6989:1996929] refreshPreferences: HangTracerEnabled: 0
2017-09-29 10:40:13.635063+0800 hello_world-mobile[6989:1996929] refreshPreferences: HangTracerDuration: 500
2017-09-29 10:40:13.635080+0800 hello_world-mobile[6989:1996929] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
这行错误提示:
ScriptingCore::compileScript fail:readline
想了一下,我添加了encryptjs 的库,通过npm安装的,在web端运行正常,不知道是否是这个引起
