Xcode is showing in the Mac App Store, ready to be updated. Clicking update results in an error: Xcode failed to download. Use the Purchases page to try again. Steps taken that didn't help: Rebooting Removed ~/Library/Cookies/com.apple.appstore.plist Searched and removed MAS-related files: sudo find /var/folders/ -ipath '*com.apple.appstore*' -print | xargs sudo fgrep -i xcode sudo find /var/folde