问题描述
- 重启默认cocos2D项目报错
-
在iPhone6.1中用Cocos2D开发游戏。创建了默认程序之后,启动运行正常,但是过一会儿再启动就会崩溃。报错: med the Thread 1: signal SIGBRT 。
我用的版本是cocos2d 2.0.和ios simulator 6.0。
int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); //Here I get the error Tread 1: signal abort [pool release]; return retVal; }
UI Applikation如下:
0x9add89: testb %al, %al<br> 0x9add8b: setne %al<br> 0x9add8e: movzbl %al, %eax<br> 0x9add91: movl %eax, (%esp)<br> 0x9add94: calll 0xf3c038<br> ; symbol stub for: GSEventInitialize<br> 0x9add99: movl 7636317(%esi), %eax //Here I get the error Tread 1: signal abort<br>
时间: 2024-12-23 18:21:13