You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi! Could you do a global search in your code to see if there is anywhere where the 11.0 version is still being used? I am curious as to where that version is coming from for this error.
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:
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.react-native-purchases-ui
with yarn (yarn add react-native-purchases-ui
)pod install
on/ios
yarn ios
or try to run the project with xcode on simulatorAdditional context
I'm also receiving this error when try to run the project with
yarn ios
on terminal:The text was updated successfully, but these errors were encountered: