我的应用在尝试启动时总是会出现sigabrt错误。作为我的xcode noob,我不知道该怎么做。如果有人能提供帮助那就太棒了。
的main.m
return UIApplicationMain(argc, argv, nil, NSStringFromClass([MW3_Cheats__Free__2AppDelegate class])); // <--- ERROR IS ON THESE LINES
注意:该应用程序可在iOS模拟器上找到,但不能在iPhone上找到。
主题:
GNU gdb 6.3.50-20050815 (Apple version gdb-1704) (Fri Jul 1 07:12:53 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 "--host=i386-apple-darwin --target=arm-apple-darwin".tty
/dev/ttys001
target remote-mobile /tmp/.XcodeGDBRemote-1091-55
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x0]
[Switching to process 7171 thread 0x0]
sharedlibrary apply-load-rules all
Couldn't register com.webs.appsbyalec.MW3-Cheats--Free--2 with the bootstrap server.
Error:
unknown error code.
This generally means that another instance of this process was already running or is
hung in the debugger.(gdb)
答案 0 :(得分:0)
确保设备iOS支持您的代码。