-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: [!] CocoaPods could not find compatible versions for pod "OneSignalXCFramework": #1543
Comments
Fixed! Just modify the Podfile: target 'OneSignalNotificationServiceExtension' do |
@n3omaster glad you got it! Let us know if you have any other questions or concerns! |
can we fix this in the repo itself? can't use this hack for expo project |
still having the same issue. **Fetching podspec for Specs satisfying the Here is my pod file code: require_relative '../node_modules/react-native/scripts/react_native_pods' platform :ios, '10.0' target 'EWallet' do use_react_native!(:path => config["reactNativePath"]) pod 'RNCViewpager', :path => '../node_modules/@react-native-community/viewpager'add pods for desired Firebase productshttps://firebase.google.com/docs/ios/setup#available-podspod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk' target 'EWalletTests' do target 'OneSignalNotificationServiceExtension' do Enables Flipper.Note that if you have use_frameworks! enabled, Flipper will not work andyou should disable these next few lines.use_flipper!post_install do |installer|flipper_post_install(installer)endend #target 'EWallet-tvOS' do # Pods for EWallet-tvOStarget 'EWallet-tvOSTests' doinherit! :search_paths# Pods for testingend#end |
Got the same error, @workabhideveloper have you found a solution? |
https://stackoverflow.com/a/70508921/4958459 cd ios/ |
cd ios/ worked for me |
What happened?
When installing "react-native-onesignal": "^5.0.0" it works fine with android but ios pod install returns:
[Hermes] Using the release tarball from Maven Central
[!] CocoaPods could not find compatible versions for pod "OneSignalXCFramework":
In Podfile:
OneSignalXCFramework (< 4.0, >= 3.0)
Specs satisfying the
OneSignalXCFramework (< 4.0, >= 3.0), OneSignalXCFramework (= 5.0.1)
dependency were found, but they required a higher minimum deployment target.Steps to reproduce?
What did you expect to happen?
Error when installing Pods
React Native OneSignal SDK version
Release 5.0.0
Which platform(s) are affected?
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: