【问题标题】:Jailbroken iPhone: Application Delegate Methods not Found on Device越狱的 iPhone:在设备上找不到应用程序委托方法
【发布时间】:2010-02-28 06:59:27
【问题描述】:

在模拟器中,我没有这个问题,但是当我在我的设备上运行应用程序时,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:]

非常感谢您的帮助。

【问题讨论】:

  • 如果可以在安全模式下调试,请尝试(killall -SEGV SpringBoard)

标签: iphone iphone-sdk-3.0 uuid jailbreak


【解决方案1】:

这...

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

...是越狱项目的死亡之吻。这意味着从 UUID 构建的任何路径都不会解析。在设备上,加载程序实际上找不到必要文件的路径。

越狱工具链中应该有一些东西可以弥补这一点,但我不记得是什么了。

【讨论】:

  • 谢谢你的回答,我不是在写JB项目,只是我的手机是JB。
  • 我很确定越狱手机会改变它的路径。另一方面,我对越狱设备的工作了解不多,所以不要认为这是福音。不过,我确实知道这是越狱设备上的常见问题。
猜你喜欢
  • 1970-01-01
  • 2013-02-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-01-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多