2011-03-30 3 views
0

장치에서 iPhone 응용 프로그램을 디버깅하고있었습니다. 이 때 콘솔에 다음 메시지가 인쇄되었습니다.iPhone의 Device에서 응용 프로그램을 디버그 하시겠습니까?

[Session started at 2011-03-30 11:15:42 +0530.] 
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Fri Oct 22 04:12:10 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/ttys001 
Loading program into debugger… 
Program loaded. 
target remote-mobile /tmp/.XcodeGDBRemote-182-66 
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 173. 
Error launching remote program: failed to get the task for process 173. 
The program being debugged is not being run. 
The program being debugged is not being run. 

해결 방법?

답변

0

임시 또는 앱 스토어 빌드를 디버그하려고합니까? 나는이 경우에이 오류를 보았다. 디버그 구성으로 전환하면 제대로 작동 할 것입니다.

+0

이 유형의 오류가 발생하는 경우 – ChandreshKanetiya

+1

"디버그 구성으로 전환하면 작동한다고 생각합니다." 더 중요한 것은 배포 인증서를 사용하여 디버깅하려는 구성에 서명하지 않았는지 확인하십시오. 장치에서 Ad Hoc 빌드를 디버깅하려고 할 때 이렇게하는 것을 보았습니다. 나는 보안 블록을 의심하지만 확실하지 않다. – Dad

관련 문제