putpkt: write failed, broken pipe

前端 未结 4 1593
名媛妹妹
名媛妹妹 2021-02-01 02:19

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 XC

相关标签:
4条回答
  • 2021-02-01 02:58

    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.

    0 讨论(0)
  • 2021-02-01 03:13

    I had the same error - I not only restarted my device, but also deleted the app on my device and cleaned the build directory (product --> clean on Xcode 4).

    I then built and ran the program again and it worked.

    I did not need to restart Xcode.

    0 讨论(0)
  • 2021-02-01 03:16

    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.

    0 讨论(0)
  • 2021-02-01 03:19

    If you tried all above trick then Here is one that works for me.

    Just go to the project Directory and delete the Build folder there.

    0 讨论(0)
提交回复
热议问题