MAS receipt is not downloaded for Sandbox users

For the past week macOS isn't providing my apps with MAS Receipt data(ie, MyAppName.app/Contents/_MASReceipt/receipt) at launch time when testing with App Store Connect Sandbox users.

Finder shows the following error: “MYAPP” is damaged and can’t be opened. Delete “MYAPP” and download it again from the App Store.

I tried to create new sandbox users, tried to run my app on Catalina, BigSur and Monterey.

I see the following in the Console log:

  • Fetching missing receipt for sandbox app /Users/***/Library/Developer/Xcode/DerivedData/MYAPP/Build/Products/Debug/MYAPP.app
  • <ReceiptRefreshRequest: 0x7f90b0905020>: Error fetching receipt for MYAPP_bundle_id - Error Domain=com.apple.commerce.client Code=500 "(null)"
  • StoreLegacy: Failed to perform in-line receipt renewal for application at path /Users/***/Library/Developer/Xcode/DerivedData/MYAPP/Build/Products/Debug/MYAPP.app : 'Error Domain=com.apple.commerce.client Code=500 "(null)"'

I created a bug report about this issue several days ago using the Feedback Assistant. FB9755646. I haven't received an answer yet.

Any thoughts would be deeply appreciated! Thanks! Alex

Yes, we have the same problem for two weeks.

The same for me.

Apple broke something and all developers have this same problem. It's probably not XCode. It's probably macOS 12.0.1 Monterey or the App Store. There's nothing you can do until they fix this in an update. File a bug report. I tried to ask for code level support for this TWICE but the request disappears.

macOS Monterey 12.1. The issue is still here. Hey Apple! Are you serious??? It's been almost 2 months and not only have you not fixed the bug, but you couldn't even respond to the developer!

I have currently the same problem with all my Mac apps, on all my Macs, on macOS versions from 10.14 to 12.1.

How is it possible that this isn't solved yet?

Or are a lot of Mac developers simply skipping the receipt validation?

The workaround to use SKReceiptRefreshRequest only seems to work on macOS 11 and 12, with some drawbacks. On 10.14 and 10.15 I get the same error as using "exit 173".

The only thing we can and must do is file a Feedback report. I have read that contacting DTS about this will only result in a template answer, with a request to file a Feedback report.

I confirm I'm having exact same issue (2nd May 2022).

Same here (9th May 2022). I think the actual problem is that the OS doesn't show the login window where we can authenticate using our sandbox accounts. It worked for us recently (<2weeks), but this has always been an unreliable mechanism in my experience.

+1 ... Building my app with macOS 12.3.1 (M1) and Xcode 13.3.1, and no receipt is retrieved after exiting with 173. Tried App Store log out / log in (sandbox and regular account) as well as reboot to no avail.

Tried again nine days later and it works now for us, though we didn't change anything. Thus I would assume it was a remote issue at Apple's side. Thus whenever this kind of problem appears the resolution seems to be to simply wait until it works again.

Working again without any code change at May 18th, 8:15 pm CEST: obviously Apple has fixed the backend, but no official confirmation of the issue, no response on bug reports, no corresponding system status … Apple, please work on your developer community management.

MAS receipt is not downloaded for Sandbox users
 
 
Q