I have the following error when I run the SwiftUI application on the devise (iOS) or via the iOS simulator:
---
Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)
There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).
More information: https://rev.cat/why-are-offerings-empty
---
How I initialise the RevenueCat SDK
import SwiftUI
import RevenueCat
import RevenueCatUI
@main
struct SpeedApp: App {
init() {
Purchases.logLevel = .debug
Purchases.configure(withAPIKey: "...token...", appUserID: "1")
}
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
My setup:
- RevenueCat and AppStore App configuration have same bundle ID.
- Product id for the subscription in RevenueCat and AppStore the same (I’ve loaded the products in RevenueCat via the App Connect API).
- The AppStore subscription has the `Ready to Submit` status in App Store. The application is not published.
- The subscription has a screenshot in the Review Information section in App Store.
How can I figure out the issue, and what is the possible solution?