It's annoying, and it happens randomly but right now whenever I connect my iPhone to my iMac using USB cable, it seems to have trouble detecting my device and asks me to download and install a software update for my iPhone, and when I select yes, it always says that the download has failed. Does anyone know what is the cause of this and how to fix this?