Upgrade both iTunes and iCloud to the latest versions Re-install iTunes on your computer Put your iPhone into DFU mode and then restore it to factory settings