Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

putpkt: write failed, broken pipe

I'm using AdHoc deploy to deploy my app on an iPad, and I get this error. I've checked out a few questions in SO that say the same, but the solution has always been restart XCode, Restart iPad, Restart Mac. I've done all three and this error does not go away. Any other tips I need to look at?

Thanks,
Teja.

like image 431
Tejaswi Yerukalapudi Avatar asked Mar 10 '11 22:03

Tejaswi Yerukalapudi


2 Answers

This problem seems to happen whenever I quit the app on my device (pressing the home button) while the debugger is stopped at a breakpoint. Any subsequent build and run on my device results in this error.

To fix this, there's no need to delete the app, clean or rebuild. Just need to restart the device.

like image 133
mud Avatar answered Oct 18 '22 20:10

mud


Well, I've restored my iPad to factory defaults. And it seems to work now, so yeah.

EDIT: Please look at @mud's answer below since it solves most cases without a complete restore. In my case that didn't work, so I've accepted this answer.

like image 3
Tejaswi Yerukalapudi Avatar answered Oct 18 '22 20:10

Tejaswi Yerukalapudi