I've created a new project using Xcode 12. Added an in-app purchase configuration file with a sample item that has a price, an identifier and a name.
fetchProductsRequest = SKProductsRequest(productIdentifiers: ["myitemid"]
Calling the request with any identifiers, returns the following error:
If I pass in an empty string as the product identifier, it doesn't return the error. Any idea on what might be causing this?
fetchProductsRequest = SKProductsRequest(productIdentifiers: ["myitemid"]
Calling the request with any identifiers, returns the following error:
Code Block Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x6000000b69a0 {Error Domain=ASDErrorDomain Code=507 "Error decoding object" UserInfo={NSLocalizedDescription=Error decoding object, NSLocalizedFailureReason=Attempted to decode store response}}}
If I pass in an empty string as the product identifier, it doesn't return the error. Any idea on what might be causing this?