我有一个iPhone应用程序,我一直在努力,最近升级了我的XCode版本。自升级以来,我可以在iPhone模拟器中进行构建和调试,但是当我尝试在连接的设备上进行调试时,我收到以下消息:
来自Xcode4:
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Fri Oct 22 04:12:10 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/ttys001
sharedlibrary apply-load-rules all
warning: Unable to read symbols from "dyld" (prefix __dyld_) (not yet mapped into memory).
warning: Unable to read symbols for (null)/Library/Frameworks/MessageUI.framework/MessageUI (file not found).
warning: Unable to read symbols from "MessageUI" (not yet mapped into memory).
warning: Unable to read symbols for (null)/Library/Frameworks/MapKit.framework/MapKit (file not found).
warning: Unable to read symbols from "MapKit" (not yet mapped into memory).
warning: Unable to read symbols from "Foundation" (not yet mapped into memory).
warning: Unable to read symbols for (null)/Library/Frameworks/UIKit.framework/UIKit (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols for (null)/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found).
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
warning: Unable to read symbols from "CoreData" (not yet mapped into memory).
warning: Unable to read symbols from "QuartzCore" (not yet mapped into memory).
warning: Unable to read symbols from "libgcc_s.1.dylib" (not yet mapped into memory).
warning: Unable to read symbols from "libSystem.B.dylib" (not yet mapped into memory).
warning: Unable to read symbols from "libobjc.A.dylib" (not yet mapped into memory).
warning: Unable to read symbols from "CoreFoundation" (not yet mapped into memory).
target remote-mobile /tmp/.XcodeGDBRemote-3836-28
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to thread 11523]
[Switching to thread 11523]
gdb stack crawl at point of internal error:
0 gdb-arm-apple-darwin 0x0013216e internal_vproblem + 316
答案 0 :(得分:1)
看起来链接到您的框架库时出现问题。尝试删除引用并重新链接它们。仅供参考 - 不要复制到项目中,因为这会导致其他问题。