loadProduct method callback not getting error correctly when using SKStoreProductViewController on iOS 17 beta

Description

When I try to use SKStoreProductViewController to display the product page, the parameters parameter of the loadProduct method passes in an illegal SKStoreProductParameterITunesItemIdentifier, but the result in the completionBlock still shows success, and the error is nil.

Actually I noticed this problem exists from the first beta version of iOS 17 to the current latest beta version (beta 6).

code

Here 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
}

environment

iOS 17.0 beta ~ iOS 17.0 beta 5

iPhone 12 Pro

Xcode 15.0 beta ~ Xcode-15.0.0-Beta.6

Is there anyone, Apple updated Xcode 15 beta 7 today, I tested it and still have this problem.

Apple updated Xcode 15 beta 8 today, I tested it and still have this problem. 😢

Apple updated Xcode 15 RC today, I tested it and still have this problem. 😢

Issue still persists in RC as well

loadProduct method callback not getting error correctly when using SKStoreProductViewController on iOS 17 beta
 
 
Q