What platform are you building for?
iOS
What framework are you building with?
Cordova
What is your build ID?
421c0c77-b8f3-446d-b1eb-4c72b2d787be
What is your error message?
UserError: [!] CocoaPods could not find compatible versions for pod “FirebaseCore”:
In Podfile:
FirebaseAnalytics/IdentitySupport (= 12.9.0) was resolved to 12.9.0, which depends on
FirebaseCore (~> 12.9.0)
Please describe the issue:
Hi,
I’m having an issue building an iOS app with Firebase using the modular FirebaseX plugins:
cordova-plugin-firebasex-core@1.0.3
cordova-plugin-firebasex-analytics@1.0.3
cordova-plugin-firebasex-messaging@1.0.3
The build fails during pod install with the following error:
UserError: [!] CocoaPods could not find compatible versions for pod “FirebaseCore”:
In Podfile:
FirebaseAnalytics/IdentitySupport (= 12.9.0) was resolved to 12.9.0, which depends on
FirebaseCore (~> 12.9.0)
I have already set the iOS deployment target to 15.0 in my config.xml:
platform name=“ios”
engine name=“ios” spec=“8.0.1”
preference name=“deployment-target” value=“15.0”
platform
I also tried forcing the Firebase iOS SDK version:
variable name=“IOS_FIREBASE_SDK_VERSION” value=“12.8.0”
However, the build still tries to resolve FirebaseCore 12.9.0, so it seems the override is not being applied.
This setup works fine on Android.
Could this be an issue with how VoltBuilder applies the iOS deployment target or plugin variables to the generated Podfile?
Any guidance would be appreciated.
Thanks!