描述: 在我的 Flutter 项目中(特别是在 iOS 上)集成
FBSDKCoreKit
和 flutter_facebook_auth
时,我遇到了 facebook_app_events
版本的兼容性问题。这是我遇到的错误消息:
[!] 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)
我尝试过更新
flutter_facebook_auth
、降级facebook_app_events
以及手动调整Podfile,但都没有成功。 Android 集成工作正常。如何解决此兼容性问题并将这两个包正确集成到我的 Flutter iOS 项目中?
附加信息:-
dependencies:
flutter:
sdk: flutter
flutter_facebook_auth: ^6.0.4
facebook_app_events: ^0.19.0