2010-03-19 2 views
1

iPod touch에서 myapp를 실행 중이 었는데 일부 라이브러리를 놓친 것으로 나타났습니다. 그게 그 이유야?내 iPhone 앱이 시뮬레이터에서 정상적으로 실행되었지만 기기 (iPod touch 3.1.2) 테스트에서 오류가 발생했습니다. 다음 오류가 발생했습니다.

[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 

답변

5

신호 0은 일반적으로 메모리가 부족한 장치와 관련되어 있지만 항상 그런 것은 아닙니다. 내 자신의 테스트에서 큰 이미지를로드하거나 메모리 관리를 잘못 수행 한 후 신호 0으로 앱이 종료되는 것을 보았습니다.

장치를 재부팅하는 것이 도움이 될 수 있지만 jailbroken iPhone/iPod을 사용하고있는 것처럼 보이지만 여러 가지 문제가있을 수 있습니다.

모든 백그라운드 앱이 너무 많은 메모리를 차지하고있어 앱에 남아있는 앱이 남아 있지 않을 수도 있습니다. 디버거에 연결하면 효과가 확대됩니다. 디버거를 실행하려면 추가 메모리가 필요하므로 효과가 커집니다.

내 제안은 jailbroken iPhone/iPod을 사용하지 않는 것입니다. 그러나 그것은 전적으로 당신의 부름입니다.

+0

답장을 보내 주셔서 감사합니다. 나는 다른 테스트 장치를 찾을거야 :) –

2

메시지는 jail broke phones을 사용하는 것입니다. 그들은 당신의 오류와 무관 할 가능성이 큽니다. 더 많은 정보가 없으면 오류를 추적하는 데 도움을 드릴 수 없습니다.

0

일부 라이브러리를 사용하고있는 것으로 보입니다. 올바른 방법으로 해안을 포함 시키십시오.

원인이 아닌 경우 자세한 정보를 제공하십시오.

관련 문제