我使用的是cocos2d-x2.2和cocostudio1.1。
之前用cocostudio工具把ui加到scene里,win32和android都可以运行。但是在Xcode中运行就会出现错误:
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov 3 21:59:02 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type “show copying” to see the conditions.
There is absolutely no warranty for GDB. Type “show warranty” for details.
This GDB was configured as “x86_64-apple-darwin”.tty /dev/ttys000
Cocos2d:
cocos2d.x.version: 2.2.0
cocos2d.x.compiled_with_profiler: false
cocos2d.x.compiled_with_gl_state_cache: true
gl.vendor: Apple Computer, Inc.
gl.renderer: Apple Software Renderer
gl.version: 2.1 APPLE
gl.max_texture_size: 16384
gl.max_texture_units: 16
gl.supports_PVRTC: false
gl.supports_NPOT: true
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: false
gl.supports_vertex_array_object: true
Cocos2d: Get data from file(ui/ui_scroll_items.json) failed!
read json file error!
Cocos2d: Get data from file(ui/ui_information.json) failed!
read json file error!
Read design size error!
sharedlibrary apply-load-rules all
Warning: the current language does not match this frame.
Current language: auto; currently c++
弄了好长时间都没搞定,求大神们帮我瞅瞅,指点指点,小弟先谢了。