i Unusual Runtime Errors: Reset Apple's App Store Catalog · Dark Matter Industries

Unusual Runtime Errors: Reset Apple's App Store Catalog

This is one rare error that occurred to me just now. It happened when Flexbits launched Fantastical 3. I had Fantastical 2 and tried to download Fantastical 3 over it. Usually, upgrades happen gracefully. In this case, I received an error telling me the app was broken and that it needed to be deleted and re-downloaded.

Deleting both apps manually (that is removing the files in the Applications folder) did not cut it. On the app store it presented an “Update” button, thinking the app was still present, for example.

The solution was to reset the App Store catalog, to force it to recreate the current state:

$ sudo softwareupdate --clear-catalog

Hope that’ll save you from hours of troubleshooting!