Showing posts with label fail. Show all posts
Showing posts with label fail. Show all posts

Monday, December 6, 2010

App fails to run on device

When loading the app to your device, do you ever get an error like:

gdb stack trace at 'putpkt: write failed':
or
putpkt: write failed: Broken pipe.

Do the following to "fix" this:
a) quit Xcode (and therefor the GDB it is running)
b) unplug device
c) delete app from device (hold icon till x appears)
d) turn off device
e) turn on device
f) plug in device (if itunes wants to sync, let it finish)*
g) launch Xcode

*You don't have to wait for it to sync, but if you cancel it let the device finish canceling.