概要
_makePurchase { "error": { "message": "The receipt is not valid. The purchased product was missing in the receipt. This is typically due to a bug in StoreKit.", "code": 8, "readableErrorCode": "INVALID_RECEIPT", "readable_error_code": "INVALID_RECEIPT", "userCancelled": false, "underlyingErrorMessage": "The purchased product was missing in the receipt. This is typically due to a bug in StoreKit." }, "userCancelled": false }
Apple のサンドボックス環境で RevenueCat の
Purchases.PurchaseProduct
を実行した時に
上記のエラーが発生する現象に遭遇した。
ビルドし直したら発生しなくなった。
参考サイト様
- https://zenn.dev/link/comments/2e11b024d353db
- https://community.revenuecat.com/sdks-51/the-receipt-is-not-valid-the-purchased-product-was-missing-in-the-receipt-this-is-typically-due-to-a-bug-in-storekit-2719
- https://github.com/RevenueCat/purchases-ios/issues/2251#issuecomment-1421956561
- https://developer.apple.com/system-status/å
- https://developer.apple.com/news/?id=ytb7qj0x