purchases-ios icon indicating copy to clipboard operation
purchases-ios copied to clipboard

RevenueCat Offerings Not Loading on iOS 18.4 simulator

Open cem256 opened this issue 8 months ago • 85 comments

Describe the bug Offerings are not loading on iOS 18.4. They work fine on earlier versions like 18.1, 18.2, and 18.3.1. This is happening in all of my apps that use RevenueCat. Nothing has changed in my setup, and everything still works perfectly on prior iOS versions.

I tested on real devices and the simulator using a sandbox account. I also created a brand new test app and a new product in both App Store Connect and RevenueCat just to make sure the issue is not project related, but offerings still fail to load on 18.4. Since app reviewers are also on iOS 18.4, this is blocking app updates and affecting users on that version who can’t see any paywall content.

I’ve checked everything in this guide multiple times. Everything is set up exactly as described there, and again everything works fine on prior iOS versions.

  1. Environment

    1. Platform: iOS
    2. SDK version: 5.18.0, 5.20.2
    3. StoreKit version:
      • [ ] StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with .with(storeKitVersion: .storeKit1))
      • [x] StoreKit 2 (default on versions >=5.0.0)
    4. OS version: MacOS 15.4, iOS 18.4
    5. Xcode version: 16.3
    6. Device and/or simulator:
      • [x] Device
      • [x] Simulator
    7. Environment:
      • [x] Sandbox
      • [x] TestFlight
      • [x] Production
    8. How widespread is the issue. Percentage of devices affected: Users in iOS 18.4 affected by this
  2. Debug logs that reproduce the issue.

I have anonymized identifiers

DEBUG: ℹ️ Configuring SDK using RevenueCat's UserDefaults suite.
DEBUG: 👤 Identifying App User ID
DEBUG: ℹ️ Debug logging enabled
DEBUG: ℹ️ SDK Version - 5.20.2
DEBUG: ℹ️ Bundle ID - com.example.MyApp
DEBUG: ℹ️ System Version - Version 18.4 (Build 22E238)
DEBUG: 👤 No initial App User ID
DEBUG: ℹ️ Purchases is configured with informational response verification
DEBUG: ℹ️ Observing StoreKit.Transaction.updates
DEBUG: ℹ️ Purchases is configured with StoreKit version 2
DEBUG: ℹ️ Observing StoreKit.PurchaseIntent.intents
DEBUG: ℹ️ Vending CustomerInfo from cache.
DEBUG: ℹ️ applicationWillEnterForeground
DEBUG: ℹ️ Offerings cache is stale, updating from network in foreground
DEBUG: ℹ️ GetOfferingsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/$RCAnonymousID%3A[USER_ID]/offerings
DEBUG: ℹ️ API request started: GET '/v1/subscribers/$RCAnonymousID%3A[USER_ID]/offerings'
DEBUG: ℹ️ Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOperation'. Skipping request.
DEBUG: ℹ️ No cached Offerings, fetching from network
DEBUG: ℹ️ Vending CustomerInfo from cache.
DEBUG: ℹ️ Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOperation'. Skipping request.
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/$RCAnonymousID%3A[USER_ID]/offerings' (304)
DEBUG: ℹ️ No existing products cached, starting store products request for: ["example_product_weekly", "example_product_annual"]
DEBUG: ℹ️ Found an existing request for products: ["example_product_annual", "example_product_weekly"], appending to completion
DEBUG: ℹ️ Found an existing request for products: ["example_product_annual", "example_product_weekly"], appending to completion
DEBUG: ℹ️ GetOfferingsOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/$RCAnonymousID%3A[USER_ID]/offerings, 0 requests left in the queue
DEBUG: ℹ️ GetCustomerInfoOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/$RCAnonymousID%3A[USER_ID]
DEBUG: ℹ️ API request started: GET '/v1/subscribers/$RCAnonymousID%3A[USER_ID]'
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/$RCAnonymousID%3A[USER_ID]' (304)
DEBUG: ℹ️ Sending latest CustomerInfo to delegate.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: ℹ️ GetCustomerInfoOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/$RCAnonymousID%3A[USER_ID], 0 requests left in the queue
DEBUG: 😻 Store products request received response
DEBUG: ℹ️ Store products request finished
ERROR: 🍎‼️ 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
ERROR: 🍎‼️ 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
ERROR: 🍎‼️ 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
ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. 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
  1. Steps to reproduce, with a description of expected vs. actual behavior

Steps:

  • Open the app on a device running iOS 18.4
  • Initialize RevenueCat
  • Try to load offerings when the app starts

Expected: Offerings load and products are shown when the paywall is displayed.

Actual: Offerings fail to load with OfferingsManager.Error error 1. Products aren’t fetched from App Store Connect.

  1. Other information

Here’s the link for the community thread I started as well

  1. Additional context

This is currently blocking app updates, since reviewers on iOS 18.4 can’t load the offerings. It’s also impacting users on that version who can’t access the paywall. Just looking to see if this is a known issue with iOS 18.4 or if there's anything else I can try.

cem256 avatar Apr 02 '25 17:04 cem256

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Apr 02 '25 17:04 RCGitBot

Hi @cem256, thanks for reporting!

This could be related to some of the networking issues introduced in iOS 18.4 (see this Apple forum thread for more info), but we haven't heard any other reports of this and aren't able to reproduce it ourselves. Are you able to reproduce this issue yourself?

Additionally, can you update to the most recent SDK version and enable diagnostics when you configure the SDK? This will help us take a look at the errors a bit more on our end. Thanks!

fire-at-will avatar Apr 02 '25 21:04 fire-at-will

@fire-at-will I'm also seeing this in Xcode 16.3.

dannyjohnlaw avatar Apr 02 '25 22:04 dannyjohnlaw

I have the same issue on all my apps. It's only on ios 18.4

JoniGoos avatar Apr 03 '25 00:04 JoniGoos

I have the same issue on all my apps. It's only on ios 18.4

Can confirm this is the same for me also.

dannyjohnlaw avatar Apr 03 '25 07:04 dannyjohnlaw

Hey folks, we're still digging into this. So far we have been able to reproduce issues with simulators, but we haven't been able to reproduce on physical devices. If you have run into these issues on physical devices, would you mind sharing which devices / OS version combinations seem to reproduce it for you?

aboedo avatar Apr 03 '25 14:04 aboedo

Hi folks!

We've uncovered what appears to be a bug with how StoreKit 2 loads products in the iOS 18.4 simulator. We've filed a Feedback with Apple and will continue investigating. We'll let you know here with updates as we receive them!

In the meantime, please let us know if you receive any reports of this issue occurring in production, along with any details that you might have about them.

Thank y'all!

fire-at-will avatar Apr 03 '25 17:04 fire-at-will

To reproduce the error:

Xcode Version: 16.3 (16E140) iOS: 18.4 (22E235) RevenueCat: GitHub Repository – Version 5.20.3 The issue occurs in the simulator when opening the paywall.

However, when switching to an iOS 18.3 simulator, it runs without issues.

I hope this helps!


ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. 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

⚠️ Erro ao buscar os Offerings: There is an issue with your configuration. Check the underlying error for more details. 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

lrochadel avatar Apr 03 '25 17:04 lrochadel

The issue hasn’t occurred in production for the past 12 hours or so, and I haven’t made any changes to my codebase or account during that time. However, I’m still unable to fetch offerings when running on iOS 18.4 simulators.

cem256 avatar Apr 03 '25 19:04 cem256

Hey I also the same issue on my end. My app is getting rejected because of this :( Did anybody find a way to fix this?

christianmonfiston avatar Apr 22 '25 02:04 christianmonfiston

It's been weeks now. Is there any update on it?

yildirimatcioglu avatar Apr 22 '25 10:04 yildirimatcioglu

It's been weeks now. Is there any update on it?

No, my app got rejected twice because of that. I'm considering switching to adapty

christianmonfiston avatar Apr 22 '25 11:04 christianmonfiston

I just tried on a physical device with iOS 18.4, it is still able to load the offerings. But with the new offer under review, it is not loaded.

phanvanluan94 avatar Apr 22 '25 12:04 phanvanluan94

I just tried on a physical device with iOS 18.4, it is still able to load the offerings. But with the new offer under review, it is not loaded.

Okay I tried on a physical device as well but its not working on the simulators and the reviewers are getting that bug from their end. I just took a look at the alternative and it just look funny and more stuff. I'm lost ngl😭😭

christianmonfiston avatar Apr 22 '25 12:04 christianmonfiston

I just tried on a physical device with iOS 18.4, it is still able to load the offerings. But with the new offer under review, it is not loaded.

Okay I tried on a physical device as well but its not working on the simulators and the reviewers are getting that bug from their end. I just took a look at the alternative and it just look funny and more stuff. I'm lost ngl😭😭

I realize if using the get product method, all products are returned fully. Not sure if I should do a migration or wait here for a fix.

phanvanluan94 avatar Apr 22 '25 12:04 phanvanluan94

Hey folks, sorry you're still dealing with issues here.

Just to clarify, though: the specific bug reported here is limited to simulators running iOS 18.4 - this is different from the setup that App Store review team uses, so they shouldn't be affected. If offerings aren't loading for them, it's likely that there is a separate problem in your setup.

@phanvanluan94 if you can get products through getProducts, then it seems like there is a misconfiguration in your Offerings setup in RevenueCat. You can follow this guide to try to find the issue.

@christianmonfiston if you are able to fetch offerings from physical devices, but App Review team isn't, then one thought is to ensure that all products are in Ready to Submit state, and that you can fetch offerings even if you are not using StoreKit Configuration files. If products are not in Ready to Submit state or Approved, then it's likely that they'll work locally but not work for App Review.

Hope this helps!

aboedo avatar Apr 22 '25 22:04 aboedo

Having same issue. It's not just simulator issue. Same issue with testflight.

jasminder avatar May 01 '25 16:05 jasminder

Having the same issue. Works on local development using 18.4 with physical 16e.

Does not work on testflight nore apple team.

ekimcem avatar May 01 '25 18:05 ekimcem

Not working with a Physical Device on iOS 18.4.1 I am logged into a SandBox Account. Using Xcode 16.3.

ERROR: 🍎‼️ 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

Update* No longer erroring. Logged In/Out of App Store ID. But the first time I did that, no change in Error. Now, a few minutes later, it's fine.

This Error was showing up across multiple projects, and now it is gone across all of them. Super strange.

@ Revenue Cat Team : Any insight?

gregyoung14 avatar May 01 '25 20:05 gregyoung14

@gregyoung14 had the same a few hours ago and it's now resolved itself.

dannyjohnlaw avatar May 01 '25 21:05 dannyjohnlaw

Facing same issue with one of my app already approved. But it some times fetches the products in the test flight version and some doesn't. Tested on simulator iPhone 12 Pro Max with iOS 17.2 and also testing on the real device with iOS 18.3. It fetches the products sometimes and sometimes doesn't and giving the same error like mentioned above.

NaikUrRehman avatar May 02 '25 07:05 NaikUrRehman

Our client is pushing to use another service. We are going ahead with that for this client. I hope you fix it soon, so our other clients don't ask for the same.

jasminder avatar May 02 '25 08:05 jasminder

I also faced the same issue. It happened to me in the simulator even on iOS 18.3 and on my physical testing device (iPhone 12, iOS 17.7).

With my iPhone 12, I was testing a paywall and everything worked initially. Suddenly, the error started to show up. I then tested simulators with both iOS 18.4 and 18.3, getting the error in both cases. After around 5 minutes, the problem resolved itself on its own.

Unfortunately, I wasn't able to retrieve any logs before it went away.

antoninmasek avatar May 02 '25 09:05 antoninmasek

I am experiencing the same thing and my app keeps getting rejected!!

anonys avatar May 02 '25 12:05 anonys

Hey, is anyone from the RC team available to help with this? We'd really appreciate any updates. Thanks so much!

ekimcem avatar May 02 '25 12:05 ekimcem

Facing similar issues, nice to see everyone else here as well haha. The worst part is how finicky it is, that it works, then doesn't, then does, all without you changing a thing so you have no idea what to fix.

htshnr avatar May 02 '25 12:05 htshnr

same issue on iPhone 16e simulator

AyoParadis avatar May 03 '25 14:05 AyoParadis

Any updates on this ?

ekimcem avatar May 05 '25 13:05 ekimcem

https://status.revenuecat.com/incidents/jjk5lp935w5c

Though I'm still facing delayed fetching for products even now.

htshnr avatar May 05 '25 13:05 htshnr

Hey all,

Thanks for your reports and for your patience regarding this issue. We are actively tracking this internally and hope to have more clarity soon.

In the mean time, do let us know any extra details regarding:

  • what Xcode & iOS versions are you seeing it on
  • test devices you are experiencing this on
  • are you seeing the issue occur at all in production

Thanks!

GuilhermeMota93 avatar May 05 '25 20:05 GuilhermeMota93