Site icon ChrisWrites.com

Struggling to download apps? Try clearing the Apple App Store cache

Whenever you want to download a new app, update an existing one, or install the latest-and-greatest version of macOS, the App Store is the place to go!

Most of the time, downloading software from the App Store feels effortless, but from time to time things can go wrong. For example, the App Store may prevent you from downloading a particular app, claiming that this app is already present on your machine – when it clearly isn’t.

Other common App Store errors include inexplicable “timeout” or “download failed” messages; verification errors; the progress bar freezing midway through a download; or the App Store loading as an empty window (the latter seems particularly prevalent amongst people who’ve recently made the switch to macOS Sierra).

The most common cause of App Store-related issues, is a corrupt installer. While the App Store should be able to identify and remove corrupt installers automatically, occasionally an installer may slip by unnoticed, at which point it’ll hang around in the App Store cache, potentially causing you all sorts of problems.

In this article, I’m going to show you how to get rid of any corrupt installers that may be polluting your cache, by emptying the App Store’s temp cache folder.

If you follow the instructions in this article carefully, then you’re unlikely to encounter any problems, but since emptying the cache requires you to touch system-level directories, it’s recommended that you play it safe and create a full Time Machine backup before proceeding.

Try some easy fixes

It’s always a good idea to try a few simple fixes first, before resorting to anything dramatic, such as deleting system-level cache files!

Log out, then log back in

Check the App Store is set to the correct country

Your country and/or region settings can impact the App Store’s behaviour, so double-check that it’s got your location right! A bit confusingly, you’ll need to check the location settings in your iTunes app, as the information stored in iTunes is used across multiple Apple apps and services:

How to clean the App Store Cache

If none of the above fixes work, then the next step is emptying the App Store’s temporary folder:

open $TMPDIR../C/

If this fix doesn’t work, then you may need to take a slightly different approach to cleaning the cache. Make sure the App Store is closed, then copy/paste the following block of commands into a Terminal window:

killall storeaccountd
killall storeassetd
killall storedownloadd
killall storeinappd
rm -rf ~/Library/Caches/storeaccountd
rm -rf ~/Library/Caches/storeassetd
rm -rf ~/Library/Caches/storedownloadd
rm -rf ~/Library/Caches/storeinappd

These commands should run automatically; so open the App Store application and see whether this fix has solved your problem.

Is the App Store still preventing you from downloading a particular app?

If the App Store is still preventing you from downloading an app, then double-check that this application isn’t already installed on an additional partition, or on any external drive that you may have connected to your Mac.

Exit mobile version