Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我的iPhone应用程序在模拟器中运行良好,但在设备(iPodtouch 3.1.2)测试中崩溃,我得到以下错误_Iphone_Objective C_Debugging - Fatal编程技术网

我的iPhone应用程序在模拟器中运行良好,但在设备(iPodtouch 3.1.2)测试中崩溃,我得到以下错误

我的iPhone应用程序在模拟器中运行良好,但在设备(iPodtouch 3.1.2)测试中崩溃,我得到以下错误,iphone,objective-c,debugging,Iphone,Objective C,Debugging,我在iPodtouch上运行我的应用程序,我注意到它遗漏了一些库。这就是原因吗 [Session started at 2010-03-19 15:57:04 +0800.] GNU gdb 6.3.50-20050815 (Apple version gdb-1128) (Fri Dec 18 10:08:53 UTC 2009) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the

我在iPodtouch上运行我的应用程序,我注意到它遗漏了一些库。这就是原因吗

[Session started at 2010-03-19 15:57:04 +0800.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1128) (Fri Dec 18 10:08:53 UTC 2009)
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/ttys007
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-237-78
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11779]
[Switching to thread 11779]
sharedlibrary apply-load-rules all
(gdb) continue
warning: Unable to read symbols for "/Library/MobileSubstrate/MobileSubstrate.dylib" (file not found).
2010-03-19 15:57:18.892 myapp[2338:207] MS:Notice: Installing: com.yourcompany.myapp [myapp] (478.52)
2010-03-19 15:57:19.145 myapp[2338:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/libsubstrate.dylib" (file not found).
MS:Warning: message not found [myappAppDelegate applicationWillResignActive:]
MS:Warning: message not found [myappAppDelegate applicationDidBecomeActive:]
2010-03-19 15:57:19.550 myapp[2338:207] in FirstViewController
2010-03-19 15:57:20.344 myapp[2338:207] in load table view
2010-03-19 15:57:20.478 myapp[2338:207] in loading splash view
2010-03-19 15:57:22.793 myapp[2338:207] in set interface
Program received signal:  “0”.
warning: check_safe_call: could not restore current frame

这些信息来自于使用越狱手机。它们很可能与您的错误无关。如果没有更多信息,我们将无法帮助您跟踪错误。

这些消息来自使用越狱手机。它们很可能与您的错误无关。如果没有更多信息,我们将无法帮助您跟踪错误。

您似乎正在使用一些库。确保以正确的方式包含它们


如果不是原因,请提供更多信息。

您似乎正在使用一些库。确保以正确的方式包含它们

如果不是原因,请提供更多信息。

信号0通常(但不总是)与设备内存不足有关。在我自己的测试中,我看到一个应用程序在加载大图像或内存管理不佳后退出,信号为0

重新启动设备可能会有所帮助,但由于您使用的似乎是越狱的iPhone/iPod,因此可能会出现很多问题

我猜所有的后台应用都占用了太多的内存,以至于你的应用都没有可用的内存了。当挂接调试器时,效果会被放大,因为这也需要额外的内存才能运行

我的建议是不要使用越狱的iPhone/iPod。但这完全是你的决定。

信号0通常(但不总是)与内存不足的设备有关。在我自己的测试中,我看到一个应用程序在加载大图像或内存管理不佳后退出,信号为0

重新启动设备可能会有所帮助,但由于您使用的似乎是越狱的iPhone/iPod,因此可能会出现很多问题

我猜所有的后台应用都占用了太多的内存,以至于你的应用都没有可用的内存了。当挂接调试器时,效果会被放大,因为这也需要额外的内存才能运行


我的建议是不要使用越狱的iPhone/iPod。但这完全是你的决定。

谢谢你的回答。我要找另一个测试设备:)谢谢你的回答。我将找到另一个测试设备:)