Is there a way to use .storekit file and SKTestSession in UI tests?
It works fine in Unit Tests, but when it comes to UI tests SKTestSession initializes OK, but StoreKit doesn't work. SKProductsRequest fails with this error:
When I use the same .storekit in regular simulator launch it works just fine.
It works fine in Unit Tests, but when it comes to UI tests SKTestSession initializes OK, but StoreKit doesn't work. SKProductsRequest fails with this error:
Code Block Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x600003d30f30 {Error Domain=ASDErrorDomain Code=507 "Error decoding object" UserInfo={NSLocalizedDescription=Error decoding object, NSLocalizedFailureReason=Attempted to decode store response}}}
When I use the same .storekit in regular simulator launch it works just fine.