Open mehmetkaynak opened 1 year ago
you try again step by step
ionic cordova plugin add cordova-plugin-firebasex —force
npm install @ionic-native/firebase-x --force
Looks like the cordova-gmv-barcode-scanner
is requesting a pod which depends on a different version of GTMSessionFetcher
pod than the version of the GoogleSignIn
pod requested by this plugin.
Use the IOS_GOOGLE_SIGIN_VERSION
plugin variable to specify which version of the GoogleSignIn
pod this plugin will request in order to align the GTMSessionFetcher
pod version with the other plugin.
Build the example project to validate your build enviroment and confirm this plugin builds correctly in isolation.
Looks like the
cordova-gmv-barcode-scanner
is requesting a pod which depends on a different version ofGTMSessionFetcher
pod than the version of theGoogleSignIn
pod requested by this plugin.Use the
IOS_GOOGLE_SIGIN_VERSION
plugin variable to specify which version of theGoogleSignIn
pod this plugin will request in order to align theGTMSessionFetcher
pod version with the other plugin.Build the example project to validate your build enviroment and confirm this plugin builds correctly in isolation.
I try install with this command : cordova plugin add cordova-plugin-firebasex --variable IOS_GOOGLE_SIGIN_VERSION=6.1.0 but in Podfile, I have : pod 'GoogleSignIn, '6.2.4'
How can I ensure that the variable is correctly taken into account during installation?
I think you misspelled the variable IOS_GOOGLE_SIGIN_VERSION, it should read “IOS_GOOGLE_SIGNIN_VERSION”.
From: franfr57 @.> Sent: Wednesday, October 16, 2024 08:52 To: dpa99c/cordova-plugin-firebasex @.> Cc: Subscribed @.***> Subject: Re: [dpa99c/cordova-plugin-firebasex] Failed to install 'cordova-plugin-firebasex': Error: pod: Command failed with exit code 1 (Issue #823)
Looks like the cordova-gmv-barcode-scanner is requesting a pod which depends on a different version of GTMSessionFetcher pod than the version of the GoogleSignIn pod requested by this plugin.
Use the IOS_GOOGLE_SIGIN_VERSION plugin variablehttps://github.com/dpa99c/cordova-plugin-firebasex?tab=readme-ov-file#plugin-variables to specify which version of the GoogleSignIn pod this plugin will request in order to align the GTMSessionFetcher pod version with the other plugin.
Build the example projecthttps://github.com/dpa99c/cordova-plugin-firebasex to validate your build enviroment and confirm this plugin builds correctly in isolation.
I try install with this command : cordova plugin add cordova-plugin-firebasex --variable IOS_GOOGLE_SIGIN_VERSION=6.1.0 but in Podfile, I have : pod 'GoogleSignIn, '6.2.4'
How can I ensure that the variable is correctly taken into account during installation?
— Reply to this email directly, view it on GitHubhttps://github.com/dpa99c/cordova-plugin-firebasex/issues/823#issuecomment-2415885675, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGXD5VUS5AMV5JPSQK4PLCLZ3YEKPAVCNFSM6AAAAABQAW6RYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVHA4DKNRXGU. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Bug report
CHECKLIST
[x] I have read the issue reporting guidelines
[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[x] I have read the documentation thoroughly and it does not help solve my issue.
[x] I have checked that no similar issues (open or closed) already exist.
Current behavior:
i can't install this plugin after the update. i tried versions of this plugin (15.0.0 - 16.0.0 and 16.1.0) i get always same issue. when i try the repo install on platforms/ios folder i get this error
CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core": In snapshot (Podfile.lock): GTMSessionFetcher/Core (= 1.7.2, ~> 1.1)
In Podfile: Firebase/Functions (= 10.2.0) was resolved to 10.2.0, which depends on FirebaseFunctions (~> 10.2.0) was resolved to 10.2.0, which depends on GTMSessionFetcher/Core (< 4.0, >= 2.1)
Environment information
Cordova CLI version
cordova -v
12.0.0 (cordova-lib@12.0.1)Cordova platform version
cordova platform ls
ios 6.3.0Plugins & versions installed in project (including this plugin)
cordova plugin ls
cordova-background-geolocation-lt 4.9.3 "BackgroundGeolocation" cordova-gmv-barcode-scanner 1.3 "cordova-gmv-barcode-scanner" cordova-open-native-settings 1.5.5 "Native settings" cordova-plugin-3dtouch 1.3.8 "3D Touch" cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport" cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter" cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx" cordova-plugin-app-version 0.1.14 "AppVersion" cordova-plugin-background-fetch 7.1.2 "CDVBackgroundFetch" cordova-plugin-bluetooth-peripheral-usage-description 1.0.1 "Bluetooth Peripheral Usage Description" cordova-plugin-bluetoothle 6.6.2 "Bluetooth LE" cordova-plugin-camera 6.0.0 "Camera" cordova-plugin-device 2.1.0 "Device" cordova-plugin-doze-optimize 0.1.3 "DozeOptimize" cordova-plugin-file-transfer 2.0.0-dev "File Transfer" cordova-plugin-file 8.0.0 "File" cordova-plugin-firebasex 15.0.0 "Google Firebase Plugin" cordova-plugin-inappbrowser 5.0.0 "InAppBrowser" cordova-plugin-power-optimization 0.0.3 "PowerOptimization" cordova-plugin-preview-any-file 0.2.9 "Preview Any File" cordova-plugin-speechrecognition 1.1.2 "Speech Recognition" cordova-plugin-wkwebview-engine 1.2.2 "Cordova WKWebView Engine" cordova-plugin-wkwebview-file-xhr 3.1.0 "Cordova WKWebView File XHR Plugin" cordova-plugin-wkwebview-inject-cookie 1.0.2 "WKWebViewInjectCookie" cordova-plugin-x-socialsharing 6.0.4 "SocialSharing" cordova.plugins.diagnostic 6.1.0 "Diagnostic" es6-promise-plugin 4.2.2 "Promise"Dev machine OS and version, e.g.
sw_vers
13.1 (22C65)
-pod -v 1.12.1Runtime issue
Android build issue:
node -v
ls platforms/android/.gradle
android:targetSdkVersion
inAndroidManifest.xml
sdkmanager --list | sed -e '/Available Packages/q'
iOS build issue:
Node JS version
node -v
v18.17.0XCode version
Console output
console output
``` Installing "cordova-plugin-firebasex" for ios Running command: pod install --verbose Failed to install 'cordova-plugin-firebasex': Error: pod: Command failed with exit code 1 at ChildProcess.whenDone (/Users/user/project/node_modules/cordova-common/src/superspawn.js:136:25) at ChildProcess.emit (node:events:514:28) at maybeClose (node:internal/child_process:1091:16) at Socket.