Missing receipt and verification

Hi,

I have two projects (older ones, but rebuild and adjusted for the newest versions) made in XCode 15.2 in objective-c. Now I want to put it on app store. I'm trying to validate receipt but the receipt is not downloaded in _MASReceipt/reciept in App Bundle. I'm trying:

NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL];
NSData *receiptData = [NSData dataWithContentsOfURL:receiptURL];

but dataWithContentsOfURL returns missing file, the receipt is not created.

Can you help me, what I missing here?

Thank you

Are you seeing this during development, or in production?

During development, the receipt is not present unless something has made it update, e.g. an in-app purchase.

Missing receipt and verification
 
 
Q