越狱的iPhone:在设备上找不到应用程序委托方法 [英] Jailbroken iPhone: Application Delegate Methods not Found on Device

查看:114
本文介绍了越狱的iPhone:在设备上找不到应用程序委托方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在模拟器中,我没有这个问题,但是当我在设备上运行应用程序时,没有调用applicationDidBecomeActiveapplicationWillTerminate.是因为我越狱并正在运行背景技术等吗?这是来自Xcode的gdb日志:

In the simulator, I don't have this problem but when I run the app on my device applicationDidBecomeActive and applicationWillTerminate aren't called. Is it because I'm jailbroken and running backgrounder etc? Here's the gdb log from Xcode:

    [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构建的所有路径都无法解析.在设备上,加载程序实际上找不到所需文件的路径.

...is the kiss of death for a jailbreak project. It means that none of your paths, which are built from the UUID, will resolve. On the device, the loader literally cannot find the paths to the necessary files.

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

There's supposed to be something in the jailbreak tool chain to compensate for this but I don't remember what it is.

这篇关于越狱的iPhone:在设备上找不到应用程序委托方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆