Jailbroken iPhone:デバイスにはないアプリケーションデリゲートメソッド

StackOverflow https://stackoverflow.com/questions/2350369

質問

シミュレーターでは、この問題はありませんが、デバイスでアプリを実行するとき applicationDidBecomeActiveapplicationWillTerminate 呼ばれていません。それは私がぶら下がっていて、バックグラウンドターなどを走らせているからでしょうか? XcodeからのGDBログは次のとおりです。

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

助けてくれてありがとう。

役に立ちましたか?

解決

これ...

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

...脱獄プロジェクトの死のキスです。これは、UUIDから構築されたパスのどれも解決しないことを意味します。デバイスでは、ローダーは文字通り、必要なファイルへのパスを見つけることができません。

これを補うために脱獄ツールチェーンに何かがあるはずですが、それが何であるか覚えていません。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top