概要
_makePurchase { "error": { "code": 2, "message": "There was a problem with the App Store.", "underlyingErrorMessage": "不明なエラーが起きました", "readableErrorCode": "STORE_PROBLEM", "userCancelled": false, "readable_error_code": "STORE_PROBLEM" }, "userCancelled": false }
Apple のサンドボックス環境で RevenueCat の
Purchases.PurchaseProduct を実行した時に
上記のエラーが発生する現象に遭遇した。
iOS 端末で SANDBOX アカウントでサインインしていないことが原因だった。
SANDBOX アカウントでサインインしたら正常に購入できた。