React Native SDK - Xcode and Billing Library

  • 19 November 2022
  • 2 replies

Badge +3


I’m, trying to upgrade my app to use Billing Library 4 for Android as per the new requirements for updates on Google.  However, the new 4.0 version of the Revenucat SDK for React doesn’t run on a clean IOS build with the SDK installed - throwing loads of errors. So, two quick questions for you all:

Q1: Does the Version 4.0 of the Revenuecat React Native SDK need me to upgrade my Xcode to 14? (i’m on Xcode 13)

Q2: Version 3.3 of the Revenuecat React Native SDK works fine for IOS. However, does it use the Billing Library 4 that I need?

Thanks in advance!


2 replies

Userlevel 4
Badge +9


Version 4.0.0 of the React Native SDK doesn’t require you to update Xcode 14.

To get Billing client 4 you should use version 4.3.0 of the sdk or newer

Can you share some of the build issues you’re getting?

Badge +3

Hi Sharif,

Thanks for getting back to me!

I have just done a clean react-native init to set up a project (react native 0.70.6) and run the default app onto IOS simulator with no problems.

I then installed the latest revenuecat SDK on the project:

npm install --save react-native-purchases

npx pod-install ios

When I then try and build my project, i’m getting a big stream of hundreds of errors. Mainly saying that the code is only available in iOS 15.0.0 or newer. e.g.s:

“error: concurrency is only available in iOS 15.0.0 or newer”

“error: 'Task' is only available in iOS 15.0 or newer”

I’m on Xcode 13.0 and macOS 11.6 and building onto an iPhone 13 simulator with iOS 15. It builds my other projects onto iOS 15 fine with no problems.

Any help would be greatly appreciated!