I also have the same problem, refer to this post
https://developer.apple.com/forums/thread/735752
Below is the minimal reproducible code:
var parametersDictionary = [SKStoreProductParameterITunesItemIdentifier: "***"]
let store = SKStoreProductViewController()
store.delegate = self
store.loadProduct(withParameters: parametersDictionary) { (result: Bool, error: Error?) in
print("Result : \(result), Error: \(error)") // Result : true, Error: nil
}
You only need to fill in a non-existent itunes_id to reproduce this problem.
In fact, if an id that does not exist is passed in, the expected situation should be an error, but now the error will never be returned in the callback function
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: