尝试启动时,我的应用程序总是收到sigabrt错误。作为我的xcode新手,我不知道该怎么办。如果有人可以帮助,那就太好了。

主目录

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)

最佳答案

确保设备iOS支持您的代码。

关于objective-c - 设备上的SIGABRT错误,但模拟器上没有,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/6692421/

10-11 17:09