2010-08-21 62 views
1

當試圖在設備上運行我的iOS應用程序時,我從GDB獲得以下內容,導致我的應用程序在啓動後立即退出,因此我從來沒有機會進行調試。任何人都知道我做錯了什麼,或者我能做些什麼來解決它?GDB:無法讀取符號

GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 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/ttys002 
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/UIKit.framework/UIKit" (file not found). 
warning: Unable to read symbols from "UIKit" (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/CoreGraphics.framework/CoreGraphics" (file not found). 
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory). 
warning: Unable to read symbols from "AudioToolbox" (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-4572-43 
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: 
/SourceCache/gdb/gdb-1470/src/gdb/macosx/macosx-nat-dyld.c:1547: internal-error: unrecognized shared library breakpoint 
A problem internal to GDB has been detected, 
further debugging may prove unreliable. 
0 gdb-arm-apple-darwin    0x0013117d internal_vproblem + 316 

回答

1

我現在有同樣的問題,但我相信這是你的框架。 也許嘗試刪除它們並重新添加到您的項目。對不起,如果我找到一個解決方案,我會讓你知道,我無法提供更多幫助。

*編輯

忽略整個框架的問題,真正的問題是你的IOS開發屏幕上。確保你有最新版本,這與你的iPhone的IOS相匹配。