I hope anybody can help me with the following:
The problem
I'm getting the following error when running my app on a device (iPhone 3G):
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
It doesn't display images such as Default.png or other placeholders I'm using. I think that's related to the problem.
What I've tried
I'm using (in case it matters)
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/ttys000 Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-7740-50
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11523]
[Switching to thread 11523]
sharedlibrary apply-load-rules all
continue
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
Thanks in advance!
You mention that you have iOS 4.2 with Xcode 3.2.5, but you have 4.2.1 on the device. Do you have the 4.2.1 SDK installed? You need to have the same build (8C148) on both.
I'm not sure how or why but this error disappeared when I corrected 2 other errors.
Simulator can handle both, a real device couldn't. But since I fixed these errors, the error in my question disappeared too..
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.