I’ve recently re-arranged a few things in my computer setup at home. Nothing major, just started working downstairs in my basement and plugged in an external keyboard, mouse, and monitor. I finally got everything more or less functional and got back to work on my app, Boom Dice.
But when I tried installing the new version of the app, I got a message saying, “An unknown error occurred.” and a fresh restore of my iPhone led to a message saying, “The iPhone could not be restored. An unknown error occurred (2005)”. I found a post on support.apple.com and it turns out that problem was with the USB cable or more specifically, that I had attached a USB hub for the external keyboard and mouse.
So I found that I can install my latest builds if I’ve unplugged the USB hub. It also seems to work if my iPhone is already turned on and unlocked. It’s a little inconvenient but at least I figured out what the problem was.

Comments
2 responses to “The iPhone could not be restored. An unknown error occurred (2005)”
Thank you! I had this error too while doing a restore on my iPhone. Turns out my USB extension wasn’t good enough to handle whatever was going on.
Glad that the post helped out! I’ve also had similar problems when trying to sync my iPhone with iTunes, even when using a powered USB hub. Maybe it’s time to upgrade my hardware.