简体   繁体   English

Xcode 4.2和iOS5无法使用越狱设备进行调试

[英]Xcode 4.2 & ios5 cannot debug with jail broken device

I have jailbroker iphone 4 with ios5 and xcode 4.2. 我有ios5和xcode 4.2的越狱iphone 4。 The problem is that I cannot debug with my device, this is what i get: 问题是我无法使用设备调试,这是我得到的:

GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
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/ttys002
target remote-mobile /tmp/.XcodeGDBRemote-8054-61
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x1c03]
[Switching to process 7171 thread 0x1c03]
sharedlibrary apply-load-rules all
warning: Unable to read symbols for /Library/MobileSubstrate/MobileSubstrate.dylib (file not found).
warning: No copy of MobileSubstrate.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Library/Frameworks/CydiaSubstrate.framework/Libraries/SubstrateLoader.dylib (file not found).
warning: No copy of SubstrateLoader.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/3GMy3G.dylib (file not found).
warning: No copy of 3GMy3G.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/usr/lib/libsubstrate.dylib (file not found).
warning: No copy of libsubstrate.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/usr/lib/libcrypto.0.9.8.dylib (file not found).
warning: No copy of libcrypto.0.9.8.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Applications/My3G.app/xyzzy.dylib (file not found).
warning: No copy of My3G.app/xyzzy.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
2011-11-14 12:23:44.234 Paragonex[9765:707] My3G waiting for User Prompt in com.paragonex.ubinary  v5.0..
warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/Activator.dylib (file not found).
warning: No copy of Activator.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/DisplayOut.dylib (file not found).
warning: No copy of DisplayOut.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/pue.dylib (file not found).
warning: No copy of pue.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/usr/local/iphone/lib/libcups.2.dylib (file not found).
warning: No copy of libcups.2.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Applications/TruPrint.app/TruPrintDaemonClient.dylib (file not found).
warning: No copy of TruPrint.app/TruPrintDaemonClient.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
Program ended with exit code: 45

What do I need to do? 我需要做什么?

I have the seem problem with my iPhone 4s iOS 5.0.1 The emergency method is download a app names respringIcon in Cydia, and when you want debug,open the app choose Safe Mode. 我的iPhone 4s iOS 5.0.1似乎有问题,紧急方法是在Cydia中下载一个名为respringIcon的应用程序,并在进行调试时打开应用程序,选择“安全模式”。 App can debug in Safe Mode. 应用可以在安全模式下进行调试。 -----------update------------- I had update to iOS 5.1.1 with jailbreak,and when I install one software from Cydia I use xCode to debug on phone, but no one make debug not work. -----------更新-------------我已经越狱更新到iOS 5.1.1,当我从Cydia安装一个软件时,我使用xCode进行调试手机,但没人能进行调试。 I think iOS5 jailbreak had solve this issue! 我认为iOS5越狱解决了这个问题!

I had the exact same issue, it turned out TruPrint (which it seems you have installed) was causing problems with the XCode debugger. 我遇到了完全相同的问题,原来TruPrint(似乎已经安装了)导致XCode调试器出现问题。 Try uninstalling it, rebooting the device and then try launching from XCode, it should work. 尝试卸载它,重新启动设备,然后尝试从XCode启动,它应该可以工作。

This page http://www.alexwhittemore.com/?p=398 seems to have the same problem you're describing, and the answer (from that page) appears to be to set up an 'Override' in your Backgrounder. 该页面http://www.alexwhittemore.com/?p=398似乎与您描述的问题相同,并且该页面的答案似乎是在Backgrounder中设置“替代”。

I have no idea what that means - but it's what the page describes in order to work around the problem. 我不知道这是什么意思-但这是页面上描述的内容,以便解决此问题。

As always, the only way to "fix" this, is to not use a jailbroken device. 与往常一样,“解决”此问题的唯一方法是不使用越狱设备。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM