I am trying to download the latest version of Xcode from the AppStore so I can continue with my development. I am on a MBP 2016 touch-bar running MacOS High Sierra 10.13.4. I did a lot of digging and can't seem to find anything recent or something that works.
Xcode will download part of the way, but if I disconnect from the WiFi or leave my computer closed for too long it will tell me "An error has occurred" when I come back to it to check on it. The "An error has occurred" message will not go away to let me start up the download again. The only way to fix this (that I know of) is to completely restart my computer. This causes all my download progress to be lost (I live in a country with really bad internet, so I can't just download it in an hour like in America)
- Restarting my computer (this works but I lose all my download progress)
- resetting the
storedownloaddin the activity monitor
- activating the debug menu (it doesn't activate no matter what I tried)
- signing out and signing back in
How do I force the download to restart and get rid of "An error has occurred" message?