XCode 3.2.6无法将应用程序构建到设备上。

3

我刚刚下载了新版的xcode,3.2.6,想要尝试新版sdk。我还不想用Xcode 4,因为它需要一些学习曲线,而我现在无法做到。我的新xcode的问题是,我无法将应用程序构建和安装到设备上。我尝试创建一个全新的项目,但xcode无法安装到我的设备上。这是日志,读完后我不知道该怎么办:

Ignoring packet error, continuing...
gdb stack trace at 'putpkt: write failed':
0   gdb-arm-apple-darwin                0x00190e1e remote_backtrace_self + 54
1   gdb-arm-apple-darwin                0x00194236 putpkt_binary + 401
2   gdb-arm-apple-darwin                0x00194933 remote_macosx_get_all_image_infos_addr + 45
3   gdb-arm-apple-darwin                0x00199584 remote_macosx_complete_create_or_attach + 146
4   gdb-arm-apple-darwin                0x00199d09 remote_macosx_create_inferior + 1273
5   gdb-arm-apple-darwin                0x0006ffb1 run_command_1 + 660
6   gdb-arm-apple-darwin                0x0012fc05 execute_command + 724
7   gdb-arm-apple-darwin                0x0001c0cf mi_execute_async_cli_command + 226
8   gdb-arm-apple-darwin                0x0001b6ec captured_mi_execute_command + 371
9   gdb-arm-apple-darwin                0x00085c51 catch_exception + 65
10  gdb-arm-apple-darwin                0x00018a4a mi_execute_command + 163
11  gdb-arm-apple-darwin                0x00018bef mi_execute_command_wrapper + 50
12  gdb-arm-apple-darwin                0x0008b639 handle_file_event + 349
13  gdb-arm-apple-darwin                0x0008b000 process_event + 131
14  gdb-arm-apple-darwin                0x0008bdba gdb_do_one_event + 1178
15  gdb-arm-apple-darwin                0x00085d74 catch_errors + 78
16  gdb-arm-apple-darwin                0x0008b4b1 start_event_loop + 76
17  gdb-arm-apple-darwin                0x00088227 captured_command_loop + 18
18  gdb-arm-apple-darwin                0x00085d74 catch_errors + 78
19  gdb-arm-apple-darwin                0x00088213 captured_main + 5561
20  gdb-arm-apple-darwin                0x00085d74 catch_errors + 78
21  gdb-arm-apple-darwin                0x00086c4f gdb_main + 63
22  gdb-arm-apple-darwin                0x00001cae main + 52
23  gdb-arm-apple-darwin                0x00001c3d start + 53
recent remote packets prior to 'putpkt: write failed':
Sent:  [1300637137.584:1306] +
Sent:  [1300637137.584:1306] Hc-1
Recvd: [1300637137.586:1306] OK
Sent:  [1300637137.586:1306] qC
Recvd: [1300637137.589:1306] QC0
Sent:  [1300637137.589:1306] qStepPacketSupported
Recvd: [1300637137.591:1306] OK
Sent:  [1300637137.662:1317] QEnvironment:SHELL=/bin/bash
Recvd: [1300637137.664:1317] OK
Sent:  [1300637137.664:1317] QEnvironment:TMPDIR=/var/folders/pu/pusl0+euEjCbaQgqND99RU+++TI/-Tmp-/
Recvd: [1300637137.665:1317] OK
Sent:  [1300637137.665:1317] QEnvironment:Apple_PubSub_Socket_Render=/tmp/launch-HWaO4c/Render
Recvd: [1300637137.668:1317] OK
Sent:  [1300637137.668:1317] QEnvironment:USER=vodkhang
Recvd: [1300637137.669:1317] OK
Sent:  [1300637137.669:1317] QEnvironment:COMMAND_MODE=unix2003
Recvd: [1300637137.671:1317] OK
putpkt: write failed: Broken pipe
putpkt: write failed: Broken pipe
The program being debugged is not being run.
The program being debugged is not being run.
Sent:  [1300637137.671:1317] QEnvironment:SSH_AUTH_SOCK=/tmp/launch-M9d1p5/Listeners
Recvd: [1300637137.673:1317] OK
Sent:  [1300637137.673:1317] QEnvironment:__CF_USER_TEXT_ENCODING=0x1F5:0:0
Recvd: [1300637137.674:1317] OK
Sent:  [1300637137.674:1317] QEnvironment:PATH=/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
Recvd: [1300637137.676:1317] OK
Sent:  [1300637137.676:1317] QEnvironment:PWD=/Users/vodkhang/SlowPerformanceTableView/build/Debug-iphoneos
Recvd: [1300637137.678:1317] OK
Sent:  [1300637137.678:1317] QEnvironment:SSH_ASKPASS=/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/Xcode SSHPassKey
Recvd: [1300637137.679:1317] OK
Sent:  [1300637137.679:1317] QEnvironment:SHLVL=0
Recvd: [1300637137.681:1317] OK
Sent:  [1300637137.681:1317] QEnvironment:HOME=/Users/vodkhang
Recvd: [1300637137.682:1317] OK
Sent:  [1300637137.682:1317] QEnvironment:LOGNAME=vodkhang
Recvd: [1300637137.684:1317] OK
Sent:  [1300637137.684:1317] QEnvironment:DISPLAY=/tmp/launch-Ie16lR/org.x:0
Recvd: [1300637137.685:1317] OK
Sent:  [1300637137.685:1317] QEnvironment:LINES=24
Recvd: [1300637137.687:1317] OK
Sent:  [1300637137.687:1317] QEnvironment:COLUMNS=80
Recvd: [1300637137.688:1317] OK
Sent:  [1300637137.688:1317] QEnvironment:DYLD_NEW_LOCAL_SHARED_REGIONS=YES
Recvd: [1300637137.690:1317] OK
Sent:  [1300637137.690:1317] QEnvironment:USERBREAK=1
Recvd: [1300637137.691:1317] OK
Sent:  [1300637137.691:1317] QEnvironment:NSUnbufferedIO=YES
Recvd: [1300637137.693:1317] OK
Sent:  [1300637137.693:1317] QEnvironment:DYLD_NO_FIX_PREBINDING=YES
Recvd: [1300637137.694:1317] OK
Sent:  [1300637137.694:1317] QEnvironment:DYLD_LIBRARY_PATH=/Users/vodkhang/SlowPerformanceTableView/build/Debug-iphoneos
Recvd: [1300637137.696:1317] OK
Sent:  [1300637137.696:1317] QEnvironment:DYLD_FRAMEWORK_PATH=/Users/vodkhang/SlowPerformanceTableView/build/Debug-iphoneos
Recvd: [1300637137.698:1317] OK
Sent:  [1300637137.698:1317] QSetDisableASLR:1
Recvd: [1300637137.699:1317]  
Sent:  [1300637137.699:1317] A246,0,2f707269766174652f7661722f6d6f62696c652f4170706c69636174696f6e732f36453541383039342d393035322d344133462d423634442d4630304233414537363246392f536c6f77506572666f726d616e63655461626c65566965772e6170702f536c6f77506572666f726d616e63655461626c6556696577
Recvd: [1300637137.702:1317] OK
Sent:  [1300637137.702:1317] qLaunchSuccess
Sent:  [1300637167.704:1317] qLaunchSuccess
Recvd: [1300637167.886:1317] OK
Sent:  [1300637167.886:1317] +
Sent:  [1300637167.886:1317] qC
1个回答

5

仅重新启动设备即可解决问题。

我之前遇到过几次“broken pipe”错误,重新启动设备就可以解决。


我尝试了除了重启设备以外的所有方法,让我试一下。 - vodkhang
这个错误真的很烦人。我每天至少要重启设备20次... - Duck
当出现这种情况时,如何测试版本之间的自动轻量级迁移?在这种情况下删除应用程序是不可行的。我们如何知道当我们将新应用部署到众多人群时,它不会崩溃? - SAHM
@JPK - 这不会导致崩溃。它仍然处于写入(安装)阶段。 - some_id

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接