将应用程序部署到iPad时出现奇怪的控制台消息

时间:2011-02-14 15:12:35

标签: ipad deployment console debug-build

昨天我的应用程序正在部署(调试版本)到iPad。但是今天我升级到了iOS 4.2.1(即当前版本),现在它在控制台上吐了很多废话,并且在最终运行应用程序之前挂起了不确定的时间(有时是几分钟或更长时间)设备。

任何人都可以对这种行为有所了解吗?我该如何摆脱它?

PS看最后一行:

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/System/Library/CoreServices/Encodings/libJapaneseConverter.dylib

到底是怎么回事?在我的应用程序或我生命中的任何其他地方,我与日语没有任何关系。我的硬盘上有几部很棒的吉卜力电影,但就是这样。

[Session started at 2011-02-14 18:30:27 +0700.]
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".Loading program into debugger…
tty /dev/ttys002
sharedlibrary apply-load-rules all
Program loaded.

unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: 

target remote-mobile /tmp/.XcodeGDBRemote-918-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]
continue

unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: 

warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
unable to load symbol file: unable to load symbol file: warning: UUID mismatch detected with the loaded library - on disk is:
    /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/System/Library/CoreServices/Encodings/libJapaneseConverter.dylib

3 个答案:

答案 0 :(得分:2)

您可以手动删除相应的符号目录。然后插入设备,打开管理器,告诉Xcode加载该设备的符号。

答案 1 :(得分:0)

重启一切。运行Xcode然后连接您的设备。等到它完成复制符号之后再做任何事情。应该这样做!

答案 2 :(得分:0)

重新安装SDK修复了它。

注意我还通过按住yonks的两个按钮并让iTunes将最新的iOS放在其上来将我的设备设置为恢复模式

编辑:只是与IRC上遇到同样问题的其他人交谈 - 他通过从/Developer/Platforms/iPhoneOS.platform/DeviceSupport/中删除他的符号文件夹来解决它......可能比重新安装一切更聪明一些

^^就是菲利普上面所说的!