pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version ‘10.22.0’ defined in ‘firebase_core’
firebase_auth: Using Firebase SDK version ‘10.22.0’ defined in ‘firebase_core’
firebase_core: Using Firebase SDK version ‘10.22.0’ defined in ‘firebase_core’
Project at /Users/bobby/Downloads/mightytaxi-110/codecanyon-40977853-mightytaxi-flutter-online-taxi-booking-app-taxi-app-admin-backend-driver-app/Rider/Runner.xcodeproj does not exist. Please check paths or incorporate Crashlytics upload symbols manually.
firebase_crashlytics: Using Firebase SDK version ‘10.22.0’ defined in ‘firebase_core’
firebase_database: Using Firebase SDK version ‘10.22.0’ defined in ‘firebase_core’
firebase_storage: Using Firebase SDK version ‘10.22.0’ defined in ‘firebase_core’
[!] CocoaPods could not find compatible versions for pod "OneSignalXCFramework":
In Podfile:
OneSignalXCFramework (< 4.0, >= 3.4.3)
onesignal_flutter (from `.symlinks/plugins/onesignal_flutter/ios`) was resolved to 5.1.3, which depends on
OneSignalXCFramework (= 5.1.3)
Specs satisfying the OneSignalXCFramework (< 4.0, >= 3.4.3), OneSignalXCFramework (= 5.1.3)
dependency were found, but they required a higher minimum deployment target.
I have this error. Please help to suggest.
Thank you in advance.
2
Answers
OneSignal-XCFramework supports iOS 9 to iOS 14. You need to check your Minimum Deployment Version.
You can check it from,
Your App target -> General Tab -> Minimum Deployments
Update it to iOS 9 or above, this should solve your issue.
Here is an official GitHub link for your reference, OneSignal-XCFramework
flutter clean
flutter pub get
pod install