My purchases are successful on real devices. But I am getting the error log in the simulator. This results in a rejection by the review team. What's the solution?
(I created and installed the certificate in the document for test device purchases.)
Here is my LOG
2022-01-07 00:49:54.151515+0300 ScoutAppFUT21U7770:194248] 4boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-01-07 00:51:25.634886+0300 ScoutAppFUT21U7770:194001] 0Purchases] - DEBUG: applicationDidBecomeActive
2022-01-07 00:51:26.017855+0300 ScoutAppFUT21A7770:196034] 1boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-01-07 00:51:26.320790+0300 ScoutAppFUT21A7770:194001] 1Purchases] - DEBUG: Vending PurchaserInfo from cache.
*********User is not Premium*********
2022-01-07 00:51:26.344411+0300 ScoutAppFUT21c7770:194001] 7Purchases] - DEBUG: Vending Offerings from cache
User is not yet Premium
2022-01-07 00:51:27.356642+0300 ScoutAppFUT2107770:194001] 2Purchases] - DEBUG: makePurchase
2022-01-07 00:51:27.359028+0300 ScoutAppFUT2187770:194001] pPurchases] - DEBUG: Purchasing product - fut21_scout_premium_monthly
2022-01-07 00:51:27.360331+0300 ScoutAppFUT2107770:194001] tPurchases] - DEBUG: PaymentQueue updatedTransaction: fut21_scout_premium_monthly (null) ((null)) (null) - 0
2022-01-07 00:51:27.565189+0300 ScoutAppFUT2177770:194248] Sboringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-01-07 00:51:30.977887+0300 ScoutAppFUT2107770:194737] Sconnection] nw_read_request_report oC6] Receive failed with error "Operation timed out"
2022-01-07 00:51:30.979270+0300 ScoutAppFUT2107770:194737] Sconnection] nw_read_request_report oC6] Receive failed with error "Operation timed out"
2022-01-07 00:51:30.980568+0300 ScoutAppFUT2107770:194737] Sconnection] nw_read_request_report oC6] Receive failed with error "Operation timed out"
2022-01-07 00:51:52.526353+0300 ScoutAppFUT2127770:194001] SPurchases] - DEBUG: applicationDidBecomeActive
2022-01-07 00:51:53.901490+0300 ScoutAppFUT2157770:196457] 3boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-01-07 00:52:03.688022+0300 ScoutAppFUT2157770:194001] 3Purchases] - DEBUG: applicationDidBecomeActive
2022-01-07 00:52:05.058302+0300 ScoutAppFUT21 7770:196455] <SKPaymentQueue: 0x6000038007c0>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x6000034f5140 {Error Domain=AMSErrorDomain Code=15 "An unknown error occurred. Please try again." UserInfo={NSLocalizedDescription=An unknown error occurred. Please try again.}}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}
2022-01-07 00:52:05.062123+0300 ScoutAppFUT21 7770:194001] 2Purchases] - DEBUG: PaymentQueue updatedTransaction: fut21_scout_premium_monthly (null) (Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x6000034f6070 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x6000034f5140 {Error Domain=AMSErrorDomain Code=15 "An unknown error occurred. Please try again." UserInfo=0x600003a76a80 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}}) (null) - 2
2022-01-07 00:52:05.062415+0300 ScoutAppFUT2117770:194001] 0Purchases] - ERROR: There was a problem with the App Store.
2022-01-07 00:52:05.062506+0300 ScoutAppFUT21>7770:194001] :Purchases] - DEBUG: Finishing transaction fut21_scout_premium_monthly (null) ((null))
2022-01-07 00:52:05.062845+0300 ScoutAppFUT21o7770:194001] Purchases] - DEBUG: PaymentQueue removedTransaction: fut21_scout_premium_monthly (null) ((null) Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x6000034f6070 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x6000034f5140 {Error Domain=AMSErrorDomain Code=15 "An unknown error occurred. Please try again." UserInfo=0x600003a76a80 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}}) {
NSLocalizedDescription = "UNKNOWN_ERROR";
NSUnderlyingError = "Error Domain=ASDErrorDomain Code=500 \"Unhandled exception\" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 \"Authentication Failed\" User