Objective c Mac OS X 10.10、XCode 6.1上的Cocos2D 3.2.1视差测试崩溃

Objective c Mac OS X 10.10、XCode 6.1上的Cocos2D 3.2.1视差测试崩溃,objective-c,macos,cocos2d-iphone,xcode6,Objective C,Macos,Cocos2d Iphone,Xcode6,在我的Mac电脑下运行cocos2d测试。视差测试挂起并崩溃,在MacOSX 10.10、XCode 6.1下运行。其他一些测试也失败了 cocos2d测试osx xcodeproj 这里是垃圾场: 2014-10-28 19:16:10.040 cocos2d-ui-tests-osx[92611:3249413] CCGLView loaded cocos2d: Cocos2D-Swift version 3.2.1 cocos2d: Director's thread: Main thre

在我的Mac电脑下运行cocos2d测试。视差测试挂起并崩溃,在MacOSX 10.10、XCode 6.1下运行。其他一些测试也失败了

cocos2d测试osx xcodeproj

这里是垃圾场:

2014-10-28 19:16:10.040 cocos2d-ui-tests-osx[92611:3249413] CCGLView loaded
cocos2d: Cocos2D-Swift version 3.2.1
cocos2d: Director's thread: Main thread
cocos2d: compiled with Profiling Support: NO
cocos2d: OS version: Version 10.10 (Build 14A389) (0x000a0000)
cocos2d: 64 bit runtime
cocos2d: GL_VENDOR:   ATI Technologies Inc.
cocos2d: GL_RENDERER: AMD Radeon HD 6630M OpenGL Engine
cocos2d: GL_VERSION:  2.1 ATI-1.28.29
cocos2d: GL_MAX_TEXTURE_SIZE: 16384
cocos2d: GL_MAX_TEXTURE_UNITS: 16
cocos2d: GL_MAX_SAMPLES: 8
cocos2d: GL supports PVRTC: NO
cocos2d: GL supports BGRA8888 textures: YES
cocos2d: GL supports NPOT textures: YES
cocos2d: GL supports discard_framebuffer: NO
cocos2d: GL supports shareable VAO: YES
2014-10-28 19:16:12.035 cocos2d-ui-tests-osx[92611:3249413] cocos2d: startAnimation
2014-10-28 19:16:20.630 cocos2d-ui-tests-osx[92611:3249413] NSXMLParser does not support reentrant parsing.
2014-10-28 19:16:20.632 cocos2d-ui-tests-osx[92611:3249413] (
    0   CoreFoundation                      0x00007fff8e46664c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8a5666de objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8e4664fd +[NSException raise:format:] + 205
    3   Foundation                          0x00007fff8f991d5d +[NSXMLParser setCurrentParser:] + 150
    4   Foundation                          0x00007fff8f992559 -[NSXMLParser parseFromStream] + 52
    5   cocos2d-ui-tests-osx                0x00000001000d499b -[CCTiledMapInfo parseXMLData:] + 203
    6   cocos2d-ui-tests-osx                0x00000001000d4d3f -[CCTiledMapInfo parseXMLFile:] + 303
    7   cocos2d-ui-tests-osx                0x00000001000d542f -[CCTiledMapInfo parser:didStartElement:namespaceURI:qualifiedName:attributes:] + 1695
    8   Foundation                          0x00007fff8f994d33 _startElementNs + 2857
    9   libxml2.2.dylib                     0x00007fff89e639bd xmlParseStartTag2 + 4357
    10  libxml2.2.dylib                     0x00007fff89e66734 xmlParseTryOrFinish + 3703
    11  libxml2.2.dylib                     0x00007fff89e656c8 xmlParseChunk + 901
    12  Foundation                          0x00007fff8f99222e -[NSXMLParser parseData:] + 275
    13  Foundation                          0x00007fff8f99249e -[NSXMLParser parseData:] + 899
    14  Foundation                          0x00007fff8f9925f9 -[NSXMLParser parseFromStream] + 212
    15  cocos2d-ui-tests-osx                0x00000001000d499b -[CCTiledMapInfo parseXMLData:] + 203
    16  cocos2d-ui-tests-osx                0x00000001000d4d3f -[CCTiledMapInfo parseXMLFile:] + 303
    17  cocos2d-ui-tests-osx                0x00000001000d4827 -[CCTiledMapInfo initWithFile:] + 199
    18  cocos2d-ui-tests-osx                0x00000001000d4227 +[CCTiledMapInfo formatWithTMXFile:] + 87
    19  cocos2d-ui-tests-osx                0x00000001000d2122 -[CCTiledMap initWithFile:] + 402
    20  cocos2d-ui-tests-osx                0x00000001000d1547 +[CCTiledMap tiledMapWithFile:] + 87
    21  cocos2d-ui-tests-osx                0x000000010001f1ae -[ParallaxTest setupParallaxTest1] + 334
    22  cocos2d-ui-tests-osx                0x000000010003de1e -[TestBase setupTestWithIndex:] + 270
    23  cocos2d-ui-tests-osx                0x000000010003d0f2 -[TestBase init] + 5762
    24  cocos2d-ui-tests-osx                0x000000010003d2d4 +[TestBase sceneWithTestName:] + 116
    25  cocos2d-ui-tests-osx                0x000000010003b324 -[MainMenu selectedRow:] + 228
    26  cocos2d-ui-tests-osx                0x0000000100185f92 __34-[CCTableView setTarget:selector:]_block_invoke + 82
    27  cocos2d-ui-tests-osx                0x0000000100186102 -[CCTableView triggerAction] + 114
    28  cocos2d-ui-tests-osx                0x0000000100186081 -[CCTableView selectedRow:] + 81
    29  cocos2d-ui-tests-osx                0x00000001001840bc -[CCTableViewCell pressedCell:] + 156
    30  cocos2d-ui-tests-osx                0x0000000100157cb2 __32-[CCControl setTarget:selector:]_block_invoke + 82
    31  cocos2d-ui-tests-osx                0x0000000100157dc2 -[CCControl triggerAction] + 114
    32  cocos2d-ui-tests-osx                0x0000000100155ce5 -[CCButton triggerAction] + 149
    33  cocos2d-ui-tests-osx                0x0000000100155b85 -[CCButton mouseUpInside:] + 85
    34  cocos2d-ui-tests-osx                0x0000000100157fd3 -[CCControl mouseUp:] + 83
    35  cocos2d-ui-tests-osx                0x000000010014fc0c -[CCResponderManager mouseUp:button:] + 300
    36  cocos2d-ui-tests-osx                0x000000010014ffe9 -[CCResponderManager mouseUp:] + 105
    37  cocos2d-ui-tests-osx                0x00000001000e2ada -[CCGLView mouseUp:] + 122
    38  AppKit                              0x00007fff83e080cb -[NSWindow _reallySendEvent:] + 759
    39  AppKit                              0x00007fff8389565c -[NSWindow sendEvent:] + 368
    40  AppKit                              0x00007fff838471e6 -[NSApplication sendEvent:] + 2238
    41  AppKit                              0x00007fff836d3fe8 -[NSApplication run] + 711
    42  AppKit                              0x00007fff836bf424 NSApplicationMain + 1832
    43  cocos2d-ui-tests-osx                0x000000010003a60b main + 59
    44  libdyld.dylib                       0x00007fff88e265c9 start + 1
    45  ???                                 0x0000000000000003 0x0 + 3
)
请告知。

这是一个已被跟踪并已修复的问题。也许“拉”最新的cocos2d可以解决你的问题


编辑:忽略了一个明显的错误,这个错误是iOS,但它有相同的错误(解析重入错误)。可能会在github上提交新的bug报告,这次是osx。

下载了新版本,但现在出现以下错误:clang:error:没有这样的文件或目录:'/Users/programmer/Desktop/cocos2d-swift-3.2/external/Chipmunk/src/cpPinJoint.c'clang:error:没有输入文件命令/Applications/Xcode.app/Contents/Developer/toolschains/XcodeDefault.xctoolchain/usr/bin/clang失败退出代码1与3.3相同。遗憾的是,不知道任何人如何使用此框架。我在过去也遇到过类似的问题,比如cocos——它总是,总是有bug,但据报道,应用商店中有25%的游戏使用它,这让我大吃一惊。这真是一场噩梦。这个特殊的问题影响到任何cocos2d版本,因为苹果从根本上改变了xml解析器。这不可能真的针对cocos2d。这一问题已在iOS上得到解决。任何游戏引擎都会出现bug,老实说,我很高兴我不必等待苹果或Unity(例如)提供补丁。@learncos2D我应该下载哪个版本?我下载了3.2、3.2.1和3.3——请告知?