Skip to main content
Question

Simulator has slow load times for Paywalls and Purchases.shared.customerInfo?


Forum|alt.badge.img+6

I’m sometimes seeing that the initial view of the RC Paywall or calling `Purchases.shared.customerInfo()` can be super slow - sometimes over 90 seconds.  This even happens after I’ve loaded the offerings successfully.

For Paywalls, this results in the view showing the ‘loading’ screen (where it has the skeleton of a paywall, with the ‘shine’ reflecting over the top) for an extended period of time.  For calling `customerInfo()`, it means my app takes a significant amount of time before the function returns a value, or it means I don’t get any values from the `customerInfoStream` for that same duration after app launch.

As mentioned, this happens even if I call `Purchases.shared.offerings()`, which always seems to return quickly.

This seems to only be a problem on the first launch of the app, and it mainly seems to be an issue when running in the simulator - running from Xcode onto a real device seems to be ok, although this has me nervous.  Primarily, I want to know if this behavior is expected, and if it’s something I should worry about for production. 

 

Thanks,
M

3 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 389 replies
  • April 16, 2025

Hi Matt,

It’s expected that the sandbox environment can be slower but over 90 seconds for that request is not normal. Would you mind confirming that you don’t have activated the Network Link Conditioner tool in Xcode? It has happened to me before that I enabled one time and I forgot to turn it off.

I’d like to ask as well which iOS version are you using to test it? There’s currently a bug from Apple in the iOS 18.4 simulators which could be related to this, it’d be great if you could try with a different iOS version.

Do you have any debug logs that you can share? Do you see anything that stands out, maybe a failed request or a timeout…?

Best,


Forum|alt.badge.img+6
  • Author
  • Helper
  • 9 replies
  • April 19, 2025

Thanks for the reply - I can confirm that I do not have Network Link Conditioner active, and I still see the issue after temporarily uninstalling RocketSim (which has similar capability, specific to the Simulator).  I even completely uninstalled Xcode, the simulators and the massive amount of support crud it spreads around my SSD, and still saw the issue.

I did try on the iOS 18.3.1 simulator, and that seems to work - thanks for the info!  Do you have info on this bug?  I don’t see anything about this in the Xcode release notes, and would like to understand more, if possible

I can send logs as well, if it’s still helpful - let me know what you’d need.

Thanks,

M


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 389 replies
  • April 28, 2025

Hi ​@Matt1Corey,

In that case yeah it’s likely that’s related to the iOS 18.4 bug. It’s not been officially announced but it’s an issue with the simulator and StoreKit and we’ve reported to them. For now we recommend using any other iOS version or test on a physical device when possible.

 

Best,


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings