2010-02-28 7 views
0

Dans le simulateur, je n'ai pas ce problème, mais quand je cours l'application sur mon appareil applicationDidBecomeActive et applicationWillTerminate ne sont pas appelés. Est-ce parce que je suis jailbreaké et que je cours un document d'information, etc.? Voici le journal de gdb de Xcode:Jailbreaké iPhone: Application Déléguer Méthodes non trouvé sur le périphérique

[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:]

Un grand merci pour toute aide.

+0

S'il vous plaît essayez si vous pouvez le déboguer en mode sans échec ('killall -SEGV SpringBoard') – kennytm

Répondre

1

... Ce

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

... est le baiser de la mort pour un projet de jailbreak. Cela signifie qu'aucun de vos chemins, qui sont construits à partir de l'UUID, ne sera résolu. Sur le périphérique, le chargeur ne peut littéralement pas trouver les chemins d'accès aux fichiers nécessaires.

Il est supposé qu'il y ait quelque chose dans la chaîne d'outils jailbreak pour compenser cela, mais je ne me souviens pas de quoi il s'agit.

+0

Merci pour votre réponse, je ne écris pas un projet JB, c'est juste que mon téléphone est JB. – Marky

+0

Je suis sûr que la prison cassant le téléphone modifie ses chemins. D'un autre côté, je ne sais pas grand-chose sur le travail sur les appareils de jailbroke, alors ne prenez pas ça, c'est du gospel. Je sais que c'est un problème commun sur les appareils jailbreakés, cependant. – TechZen

Questions connexes