capacitor-community / facebook-login

Facebook Login support
MIT License
103 stars 54 forks source link

CocoaPods could not find compatible versions for pod FBSDKCoreKit #35

Closed AlvinTCH closed 3 years ago

AlvinTCH commented 3 years ago

Hi, I recently updated the version of this package on my app to v2 and when I tried to build the app, it says:

[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit": In Podfile: CapacitorCommunityFacebookLogin (from../../node_modules/@capacitor-community/facebook-login`) was resolved to 1.1.0, which depends on FBSDKCoreKit (= 9.0.1)

FBSDKCoreKit

Specs satisfying the FBSDKCoreKit, FBSDKCoreKit (= 9.0.1) dependency were found, but they required a higher minimum deployment target ` I have updated the appDelegate.swift file according to the documentation. Did I miss out anything?

rdlabo commented 3 years ago

What's your minimum deployment target?? Please check demo: https://github.com/capacitor-community/facebook-login/tree/master/demo/angular

Thanks.

AlvinTCH commented 3 years ago

Hi, I believe it's 11, which is the standard version for capacitor. How do I update the minimum deployment targets on capacitor? Have changed the first line in PodFile to 13 and all "IPHONEOS_DEPLOYMENT_TARGET" to 13 inside the "project.pbxproj" file. The same error still shows

AlvinTCH commented 3 years ago

Did a "pod install --repo-update" where the Podfile is and it worked. Putting it here in case it helps anyone.

Thanks

cristianlabadie commented 3 years ago

Im having the same error,

[capacitor] [error] Analyzing dependencies [capacitor] [!] CocoaPods could not find compatible versions for pod "CapacitorCommunityFacebookLogin": [capacitor] In Podfile: [capacitor] CapacitorCommunityFacebookLogin (from ../../node_modules/@capacitor-community/facebook-login) [capacitor] [capacitor] Specs satisfying the CapacitorCommunityFacebookLogin (from../../node_modules/@capacitor-community/facebook-login) dependency were found, but they required a higher minimum deployment target.

loburets commented 2 years ago

Updated ios/App/Podfile to

platform :ios, '12.0'

Then pod install --repo-update And it worked for me, thank you @AlvinTCH

But later I've realised that 1) It returns back after npx capy sync or usual pod install 2) I just use capacitor 2 and the last version of this FB login plugin isn't compatible with it

So, I've just used version "@capacitor-community/facebook-login": "2.0.0" and it seems to work for me, and no need to change the original 11.0 target

sunitha1210 commented 2 years ago

I am trying to install community facebook plugin and facebook connect.then i am getting this error,