My project in Ionic 5 and using Capacitor 2.1.2. I have installed Firebase X for capacitor using the following code.
npm install cordova-plugin-firebasex
npm install @ionic-native/firebase-x
When I did ionic cap sync
, the android installation was with no errors but I am getting the following error in IOS.
✖ Updating iOS native dependencies with "pod install" (may take several minutes):
✖ update ios:
[error] Error running update: Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/Performance":
In Podfile:
CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 2.1.2, which depends on
Firebase/Performance (= 6.23.0)
None of your spec sources contain a spec satisfying the dependency: `Firebase/Performance (= 6.23.0)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
The Capacitor IOS version is "@capacitor/ios": "^2.1.2"
Try running this command in the ios/App folder:
pod install --repo-update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With