简体   繁体   English

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

[英]Weird console messages when deploying app to iPad

yesterday my app was deploying (debug build) to the iPad fine. 昨天我的应用程序正在部署(调试版本)到iPad。 but today I upgraded to iOS 4.2.1 (ie the current one), and now it spits a lot of nonsense out on the console, and hangs for an indeterminate time ( sometimes a couple of minutes or more ) before finally running the app on the device. 但是今天我升级到了iOS 4.2.1(即当前版本),现在它在控制台上吐了很多废话,并且在最终运行应用程序之前挂起了不确定的时间(有时是几分钟或更长时间)设备。

can anyone shed some light on this Behaviour? 任何人都能对这种行为有所了解吗? How do I get rid of it? 我怎么摆脱它?

PS look at the last line: PS看最后一行:

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

what on earth is going on? 到底是怎么回事? I don't have anything to do with anything Japanese in my app, or anywhere else in my life. 在我的应用程序或我生命中的任何其他地方,我与日语没有任何关系。 I have a couple of great Ghibli movies on my hard drive but that is it. 我的硬盘上有几部很棒的吉卜力电影,但就是这样。

[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

You can manually delete the corresponding symbols directory. 您可以手动删除相应的符号目录。 Then plug in your device, open the Organizer, and tell Xcode to load the symbols for that device. 然后插入您的设备,打开管理器,并告诉Xcode加载该设备的符号。

Reboot everything. 重启一切。 Run Xcode then connect your device. 运行Xcode,然后连接您的设备。 Wait until it finishes copying symbols before doing anything. 等到它完成复制符号之后再做任何事情。 That should do it! 应该这样做!

Reinstalling the SDK fixed it. 重新安装SDK修复它。

NB I also set my device in to restore mode by holding down both buttons for yonks, and letting iTunes put the latest iOS on it 注意我还通过按住yonks的两个按钮将设备设置为恢复模式,并让iTunes将最新的iOS放在其上

EDIT: Just talking with someone else on IRC who had the same problem -- he sorted it out by deleting his symbols folder from /Developer/Platforms/iPhoneOS.platform/DeviceSupport/ ... probably a bit smarter than reinstalling everything. 编辑:只是与IRC上遇到同样问题的其他人交谈 - 他通过删除/Developer/Platforms/iPhoneOS.platform/DeviceSupport/中的符号文件夹将其整理出来......可能比重新安装一切更聪明。

^^ ie exactly what Philip said above! ^^就是菲利普上面所说的!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM