0

昨天我的应用程序正在部署(调试版本)到 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
4

3 回答 3

2

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

于 2011-02-14T19:32:52.903 回答
0

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

于 2011-02-14T18:06:22.833 回答
0

重新安装 SDK 修复它。

请注意,我还通过按住 yonks 的两个按钮将我的设备设置为恢复模式,然后让 iTunes 将最新的 iOS 放在上面

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

^^ 即正是菲利普上面所说的!

于 2011-02-14T22:14:24.153 回答