I cannot call productID in StoreKit2.
I am getting the following error.
[Default] [StoreKit] Did not receive any products or error for products request.
I'm calling with this code.
productAppID contains the product ID set in App Store Connect.
var storeProducts:[Product].
storeProducts = try await Product.products(for: [productAppID])]
Post
Replies
Boosts
Views
Activity
Swift Storekit2
var storeProducts:[Product]]
storeProducts = try await Product.products(for: [productID])]
When executed, storeProducts has 0 values.
The log shows "Did not receive any products or error for products request.
The Appstore Connect subscription page is active for paid apps.
The productID is the Product ID of the subscription created in Appstore Connect.
When I press the install button in Testflight, I get a message and cannot install.
"Could not install appname.
The requested app is not availabel or doesn't exist."