在设备上构建应用程序时收到警告 - 这是什么意思?

时间:2011-04-18 12:05:34

标签: iphone xcode warnings

有人可以帮我解决这个警告。当我在我的设备而不是我的模拟器上进行buildandRun时,我在控制台上得到了这个。最后一行究竟是什么意思? 我正在使用XCode 3.2。将应用程序部署到应用程序商店时,我是否应该关注这个问题?

控制台打印输出:

========================================================
[Session started at 2011-04-18 07:59:37 -0400.]
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
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-408-54
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).

2 个答案:

答案 0 :(得分:2)

转到路径并删除此文件夹 -

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/

当您再次连接设备时,它会要求您重新收集操作系统,请按收集。

答案 1 :(得分:1)

不,没关系。它只是一个警告,一个来自调试器(不是编译器)。这在App Store上发布时不会影响应用程序,在开发时也不会造成任何问题。