-
Notifications
You must be signed in to change notification settings - Fork 102
Labels
bugSomething isn't workingSomething isn't working
Description
- I have updated Purchases SDK to the latest version
- I have read the Contribution Guidelines
- I have searched the Community
- I have read docs.revenuecat.com
- I have searched for existing Github issues
Describe the bug
I'm trying to install the react-native-purchases-ui library but I'm having trouble compiling the project for iOS. The error I'm getting is:
node_modules/react-native-purchases-ui/ios/PurchasesPlugin.swift Compiling for iOS 11.0, but module 'PurchasesHybridCommonUI' has a minimum deployment target of iOS 13.0
I'm already using the minimum deployment target in version 15.6 (I've also tested it using version 13.4) and it still didn't work.
The pod install
command works normally but when running the project I get the error above.
- Environment
- Platform: iOS
- SDK version: 8.4.1
- OS version: iOS 18.2
- Xcode/Android Studio version: 16.2
- React Native version: 0.72.7
- SDK installation (CocoaPods + version or manual): 1.16.2
- Node version: 23.4.0
- Steps to reproduce:
- Install
react-native-purchases-ui
with yarn (yarn add react-native-purchases-ui
) - Run
pod install
on/ios
- Run
yarn ios
or try to run the project with xcode on simulator
Additional context
I'm also receiving this error when try to run the project with yarn ios
on terminal:
The following build commands failed:
SwiftEmitModule normal x86_64 Emitting\ module\ for\ RNPaywalls (in target 'RNPaywalls' from project 'Pods')
SwiftCompile normal x86_64 .../mobile/node_modules/react-native-purchases-ui/ios/PurchasesPlugin.swift (in target 'RNPaywalls' from project 'Pods')
Building workspace "ApplicationName" with scheme "ApplicationName" and configuration Debug
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working