Closed ggsilva28 closed 2 years ago
I'm having the same problem, waiting for an answer.
I am also facing same issue. any update on this.
You may use M1 Mac. So this is not plugin issue.
Please use arch -x86_64
. Thanks.
@rdlabo how is the dependency issue related to M1?
He is obviously using this plugin together with a cordova plugin that depends on a lower version of FBSDKCoreKit ?
Besides i do not have M1 and got same thing.
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
In Podfile:
CapacitorCommunityFacebookLogin (from `../../node_modules/@capacitor-community/facebook-login`) was resolved to 3.4.0, which depends on
FBSDKCoreKit (~> 12.0.0)
CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 3.6.0, which depends on
FBSDKCoreKit (= 11.1.0)
Using older version is impossible too. Because 3.1.1 use FBSD 11.0.0 not 11.1.0
Some digging and problem is only when you have added FB SDK from ionic awesome plugins to support events for ads for example.
Besides i do not have M1 and got same thing.
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit": In Podfile: CapacitorCommunityFacebookLogin (from `../../node_modules/@capacitor-community/facebook-login`) was resolved to 3.4.0, which depends on FBSDKCoreKit (~> 12.0.0) CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 3.6.0, which depends on FBSDKCoreKit (= 11.1.0)
Using older version is impossible too. Because 3.1.1 use FBSD 11.0.0 not 11.1.0
Some digging and problem is only when you have added FB SDK from ionic awesome plugins to support events for ads for example.
I´ve the same problem. Any news about it?
Just finished migrating from Ionic 5 to 6 and from Capacitor 2 to 4 (via all the steps needed for 2 -> 3). Ionic serve works without any issue whatsoever (minus the fact that cordova stuff do not work on the web). Tried to build for iOS (did all the necessary npx cap copy / sync etc), but get the same as the other posters, and maybe some more. npx cap sync produces the below:
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit": In Podfile: CordovaPluginsStatic (from
../capacitor-cordova-ios-plugins`) was resolved to 4.0.1, which depends on
FBSDKCoreKit (= 8.2.0)
FBSDKCoreKit
CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
In Podfile:
CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to [4.0.1](http://4.0.0.1/), which depends on
FBSDKLoginKit (= [8.2.0)](http://8.2.0%29/)
FBSDKLoginKit
CocoaPods could not find compatible versions for pod "Firebase/Auth":
In Podfile:
CapacitorFirebaseAuthentication (from `../../node_modules/@capacitor-firebase/authentication`) was resolved to
[1.0.0](http://1.0.0.0/), which depends on
Firebase/Auth (= [9.1.0)](http://9.1.0%29/)
Firebase/Auth
CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In Podfile:
CapacitorCommunityFirebaseAnalytics (from `../../node_modules/@capacitor-community/firebase-analytics`) was
resolved to [1.0.1](http://1.0.0.1/), which depends on
Firebase/Analytics (~> [8.0)](http://8.0%29/) was resolved to [8.0.0](http://8.0.0.0/), which depends on
Firebase/Core (= [8.0.0)](http://8.0.0%29/) was resolved to [8.0.0](http://8.0.0.0/), which depends on
Firebase/CoreOnly (= [8.0.0)](http://8.0.0%29/)
CapacitorFirebaseAuthentication (from `../../node_modules/@capacitor-firebase/authentication`) was resolved to
[1.0.0](http://1.0.0.0/), which depends on
Firebase/Auth (= [9.1.0)](http://9.1.0%29/) was resolved to [9.1.0](http://9.1.0.0/), which depends on
Firebase/CoreOnly (= [9.1.0)](http://9.1.0%29/)`
Any idea how to fix this? This is an already published app, ready to update with new features and had the brilliant idea to make the upgrade now while I'm at it......
Many thanks
In my case, it was only because I had cordova-plugin-fbsdk
in package.json
.
After removed it, it works well.
solved removing @capacitor-community/facebook-login and facebook-login 😄
Hi, with capacitor 6 I have the same error. Somebody can helps? thanks
When running "npx cap sync" or "pod install" directly in ios/App i get the following error:
CordovaPluginsStatic.podspec
CapacitorCommunityFacebookLogin.podspec
The specs in capacitor-cordova-plugin doesnt match the ones in capacitor-comunity/facebook. I could not find a way of downgrading capacitor-cordova-plugin-ios and also there is no update for the facebook-login. If i manually change the version inside capacitor libs its works, however its will be lost every time i run npm. Is there any permanet solution to this problem?
Ionic:
Ionic CLI : 6.18.1 (/Users/fabricadesoftware/.npm-global/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.8.0 @angular-devkit/build-angular : 0.1101.4 @angular-devkit/schematics : 11.1.4 @angular/cli : 11.1.4 @ionic/angular-toolkit : 4.0.0
Capacitor:
Capacitor CLI : 3.2.3 @capacitor/android : 3.2.3 @capacitor/core : 3.3.2 @capacitor/ios : 3.3.2
Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : none Cordova Plugins : no whitelisted plugins (1 plugins total)
Utility:
cordova-res : not installed globally native-run (update available: 1.5.0) : 1.4.1
System:
NodeJS : v16.13.0 (/usr/local/bin/node) npm : 8.1.0 OS : macOS Monterey Xcode : Xcode 13.1 Build version 13A1030d