Friday, October 4, 2024

“Damaged” Mac App Store Apps

Keith Gugliotto:

The Mac App Store places a receipt file in each purchased application. The receipt includes a certificate the application uses to validate that receipt to be sure you’ve made a bona fide purchase. That certificate is only valid for a limited amount of time – in our experience, up to about 25 months, though sometimes significantly less, which could indicate the App Store renews these certificates every so often. So, when you see this “damaged” message out of the blue, it’s almost surely because the certificate in the receipt has expired. You could set the date on your Mac back a bit to work around it, but you really want to straighten things out so you don’t have to go through that fun every time you sit down to use an application.

Usually, as long as your current Apple Account has a valid purchase for the application in question, you won’t ever see the “damaged” message because the application will tell the Mac the receipt’s invalid, the Mac will automatically refresh your receipt, and you’re on your way. You should only see the message in those three cases we outlined above.

Matthias Gansrigler:

Are any other Mac developers observing a surge of support requests for “<App> is damaged and can’t be opened. Please re-download it from the Mac App Store” recently?

It started yesterday, out of the blue. macOS 15, 14, 13 and 12 as well…

I am not seeing this personally, and I’m not sure what’s going on here, but there are multiple reports of problems launching Mac App Store apps.

This bug thread suggests that some receipt validation code needs to change because Sequoia adds MAC address randomization. This post and other sources suggest that it’s important to use StoreKit 2 instead of validating receipts directly, although perhaps that only pertains to IAP. Apple’s sample code does not seem to have changed.

Previously:

4 Comments RSS · Twitter · Mastodon


I saw this happening for Canouflage a lot in recent months. The app hasn’t been updated in years, so an expired receipt does indeed sound reasonable. Maybe the problem doesn’t happen for apps that are regularly updated.

Uninstalling and installing again sounds stupid but it always helps.


Based on issues we saw with our own apps' receipt checking (among other things, for crossgrading purposes), my current working theory is that receipts mass-expired on October 1st or 2nd, causing problems in the scenarios Keith described, and possibly also if you aren't online when launching an app with an expired receipt.


I've seen that too for some apps (usually those that offer buyable upgrades to their feature sets). The worst is when it happens on your no-longer-supported version of macOS, the App Store no longer works properly, and you suddenly are left w/o the apps, because you can't even re-download them because the currently offered version no longer runs on your version of macOS. Planned obsolescence by design. That's why I no longer buy anything from the App Store at all.


Yeah. Another reason to specifically avoid buying apps via the Mac App Store.

Leave a Comment