3

I'm using the flutter_facebook_login package and I got this error message:

"Module 'flutter_facebook_login' not found"

in the GeneratedPluginRegistrant.m file in iOS.

is there anyone faced this issue? Any help would be appreciated.

Thank you.

azim vaziri
  • 143
  • 1
  • 12

4 Answers4

1

Verify that you are using Runner.xcworkspace and not Runner.xcodeproj

flutter clean
flutter pub get
cd ios
pod install

https://github.com/flutter/flutter/issues/41033#issuecomment-534604875

Luisfayre
  • 403
  • 4
  • 5
0

Faced the same problem. I just deleted Podfile, Podfile.lock and Pods folder, installed flutter_facebook_login again (latest version) and did "flutter pub get". It works for me.

Mark Iliev
  • 194
  • 1
  • 4
0

I updated the plugin to the version in pubspec.yaml

flutter_facebook_login: ^3.0.0

then updated the podfile in ios folder

pod 'FBSDKCoreKit', '~> 5.5'
pod 'FBSDKLoginKit', '~> 5.5'

at the end rebuild everything, message gone.

Christian
  • 2,094
  • 1
  • 12
  • 12
0

for me, i had to update the xcode ios deployment target settings to match flutter Podfile 'platform: ios' setting. details at following link, answer posted by @thanhbinh84 :

enter link description here

tmr
  • 1,500
  • 15
  • 22