For many years I created a folder for the receipt by putting a Copy Files item in the target Build Phases settings to create the _MASReceipt folder for the receipt:
wrapper:
Subpath @"Contents/MASReceipt/receipt
Now XCode doesn't seem to be creating the folder for the receipt so this could be the problem but it's impossible to know because neither XCode nor the Console logs an error. I don't see any guidance in the archived or new developer documentation about this. It could be an XCode bug.
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags: