appStoreReceipt missing

I need user installed app information like first install time (purchase to install)

last time use "Bundle.main.appStoreReceiptURL" to request Receipt was successful

but when i Reinstall the app by Xcode has ERROR:"Error reading receipt data: Error Domain=NSCocoaErrorDomain Code=260"

what wrong with ERROR?

The receipt is always present in production.

In development, it's present if you have done any IAP activity, or anything else that makes it appear, but otherwise it is not present.

Does this explain what you are seeing?

appStoreReceipt missing
 
 
Q