我的應用程序在模擬器中運行良好,並且一直在設備上運行良好。今天我試圖在設備上安裝並且應用程序崩潰。它仍然在模擬器中工作。我沒有收到調試錯誤:應用程序在設備上運行時突然崩潰
[Session started at 2010-07-19 10:35:01 -0700.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 UTC 2010)
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/ttys002
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-228-34
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
Error launching remote program: failed to get the task for process 856.
Error launching remote program: failed to get the task for process 856.
The program being debugged is not being run.
The program being debugged is not being run.
我該如何診斷?
不從主屏幕運行。我已經用我的證書籤了字,並且已經過去了一個月。當我切換到我的開發證書時,出現錯誤:無法在引導程序服務器上註冊com.myApp.debug。錯誤:未知的錯誤代碼。這通常意味着此過程的另一個實例已在運行或掛在調試器中。程序接收到信號:「SIGABRT」。 – 2010-07-19 17:48:06
重新啓動設備。 – 2010-07-20 11:53:20
請參閱http://stackoverflow.com/questions/788277/iphone-strange-error-when-testing-on-simulator「無法在引導程序服務器上註冊com.myApp.debug」錯誤。 – smparkes 2012-02-09 16:23:42