2010-02-28 57 views
0

在模擬器中,我沒有這個問題,但是當我在我的設備上運行應用程序applicationDidBecomeActiveapplicationWillTerminate未被調用。是因爲我越獄和正在運行的背景等?這裏是來自Xcode的gdb日誌:越獄iPhone:在設備上找不到應用程序委託方法

[Session started at 2010-02-28 15:37:00 +0900.] 
GNU gdb 6.3.50-20050815 (Apple version gdb-1460) (Fri Feb 5 06:29:49 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/ttys006 
Loading program into debugger… 
Program loaded. 
target remote-mobile /tmp/.XcodeGDBRemote-582-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 
continue 
warning: UUID mismatch detected with the loaded library - on disk is: 
/Volumes/Xcode/MyAppName/build/Debug-iphoneos/MyAppName.app/MyAppName 
warning: Unable to read symbols for "/Library/MobileSubstrate/MobileSubstrate.dylib" (file not found). 
warning: Unable to read symbols for "/Library/RockExtensions/RockExtensions.dylib" (file not found). 
2010-02-28 15:37:26.270 MyAppName[997:207] MS:Notice: Installing: com.yourcompany.MyAppName [MyAppName] (478.52) 
2010-02-28 15:37:26.423 MyAppName[997: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/DeviceSupport/3.1 (7C144)/Symbols/usr/lib/libsubstrate.dylib" (file not found). 
2010-02-28 15:37:26.654 MyAppName[997:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/FCSB.dylib 
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/FCSB.dylib" (file not found). 
warning: Unable to read symbols for "/Library/RockExtensions/RockInject.dylib" (file not found). 
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1 (7C144)/Symbols/usr/lib/librockextension.dylib" (file not found). 
2010-02-28 15:37:27.112 MyAppName[997:207] RE:Notice: Launching: com.yourcompany.MyAppName 
MS:Warning: message not found [MyAppName applicationWillResignActive:] 
MS:Warning: message not found [MyAppName applicationDidBecomeActive:]

非常感謝您的任何幫助。

+0

請嘗試,如果你可以在安全模式下調試('killall -SEGV SpringBoard') – kennytm

回答

1

這...

warning: UUID mismatch detected with the loaded library - on disk is: 
/Volumes/Xcode/MyAppName/build/Debug-iphoneos/MyAppName.app/MyAppName 

...是死亡的一個越獄計劃的吻。這意味着您的任何路徑都不會從UUID構建而來。在設備上,加載器從字面上看不到所需文件的路徑。

在越獄工具鏈中應該有一些東西來補償這一點,但我不記得它是什麼。

+0

感謝您的回答,我不寫一個JB項目,它只是我的手機是JB。 – Marky

+0

我很確定監獄打破了電話改變了路徑。另一方面,我不太瞭解關於越獄設備的工作,所以不要說這是福音。但我確實知道這是越獄設備上的常見問題。 – TechZen

相關問題