I am having a similar problem I am able to get everything working fine with my consumable products locally using my StoreKitConfiguration file. But when I upload a build to Testflight I am not able to see my products since they don't load at all via Testflight or even with a sandbox account attached signed in on my iPhone to test locally via Xcode. I just seem to be getting the following warning below. I'm using Xcode 14.0.1
[StoreKit] Did not receive any products or error for products request.
Below is a snippet of my code that i'm using also.
/// Get all of the products that are on offer
func retrieveProducts() async {
do {
let products = try await Product.products(for: myTipProducts)
items = products.sorted(by: { $0.price < $1.price })
} catch {
action = .failed(.system(error))
print(error)
}
}
What's even stranger is that the products for function isn't even throwing an error
Topic:
App & System Services
SubTopic:
StoreKit
Tags: