CocoaPods compatibility issue with FBSDKCoreKit versions in Flutter project (iOS)

  Kiến thức lập trình

Description: I’m facing a compatibility issue with FBSDKCoreKit versions while integrating flutter_facebook_auth and facebook_app_events in my Flutter project, specifically on iOS. Here’s the error message I’m encountering:

[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
  In Podfile:
    facebook_app_events (from `.symlinks/plugins/facebook_app_events/ios`) was resolved to 0.0.1, which depends on
      FBSDKCoreKit (~> 17.0)

    flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 6.0.4, which depends on
      FBSDKLoginKit (~> 16.3.1) was resolved to 16.3.1, which depends on
        FBSDKCoreKit (= 16.3.1)

I’ve tried updating flutter_facebook_auth, downgrading facebook_app_events, and manually adjusting the Podfile without success. Android integration is working fine. How can I resolve this compatibility issue and integrate both packages correctly in my Flutter iOS project?

Additional Information:-

dependencies:
  flutter:
    sdk: flutter
  flutter_facebook_auth: ^6.0.4
  facebook_app_events: ^0.19.0

New contributor

ved is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT