2010-07-19 5 views
0

내 앱이 시뮬레이터에서 훌륭하게 작동하며 기기에서도 잘 작동합니다. 오늘은 기기에 설치하려고하는데 앱이 다운됩니다. 그것은 여전히 ​​시뮬레이터에서 작동합니다. 디버그 오류가 발생하지 않습니다.기기가 실행될 때 갑자기 앱이 깨집니다.

[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. 

어떻게 진단 할 수 있습니까?

답변

1

하는 것은 다음 빌드 및 실행을 시뮬레이터를 닫 있는지 확인하고 깨끗한을 수행합니다. 앱에서 앱을 완전히 삭제하는 데 도움이 될 수도 있습니다.

1

개발 인증서/프로비저닝 프로파일 (빌드 설정에서 기본값이어야 함) 및 인 타이틀먼트가 <key>get-task-allow</key><true/> (이 또한 기본값이어야 함)으로 서명해야합니다.

홈 화면에서 전혀 실행됩니까?

+0

홈 화면에서 실행되지 않습니다. 나는 증명서와 함께 서명했고, 지난 한 달 동안 지냈다. 개발 인증서로 전환하면 오류가 발생합니다. com.myApp.debug를 부트 스트랩 서버에 등록 할 수 없습니다. 오류 : 알 수없는 오류 코드. 이것은 일반적으로이 프로세스의 다른 인스턴스가 이미 실행 중이거나 디버거에 매달려 있음을 의미합니다. 프로그램 수신 신호 : "SIGABRT". –

+0

장치를 재부팅하십시오. –

+0

'com.myApp.debug를 부트 스트랩 서버에 등록 할 수 없습니다.'오류에 대해서는 http://stackoverflow.com/questions/788277/iphone-strange-error-when-testing-on-simulator를 참조하십시오. – smparkes

관련 문제