This issue also troubled me for some time. The culprit for my case is due to a 3rd party framework. I integrated Tapjoy SDK for my project, after I removed it, it works just fine. I encourage whoever encounter the same issue, check if any of the frameworks you integrated has caused this issue. After updating Tapjoy SDK to latest version using Swift Package Manager, SKStoreProductViewController shows up for me again.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: