How to fix 'firebase_auth/FirebaseAuthPlugin.h' file not found in Xcode?

3,223

Solution 1

I had the same problem all day long. I ended up having to bump my version of Firebase_Auth to the latest, which for me at the moment is: ^0.15.3, which then forced me to have to upgrade Flutter as well.

Did the typical

Delete PodFile and PodFile.lock Flutter Clean pod install

I'm using Mac, so I also had to update my Xcode to 11.3. Then needed to update Mac OS to Catalina.

Lot's of work, but this got me to a successful build. Hopefully, something in here helps others dealing with this issue.

Solution 2

try this

  • pod install command in ios folder
  • xcodebuild -sdk iphonesimulator11.2 -scheme Runner -workspace Runner.xcworkspace

Solution 3

Update your pod. Your pod is not on the latest version

Share:
3,223
omar
Author by

omar

Updated on December 10, 2022

Comments

  • omar
    omar over 1 year

    I tried to run flutter project in Xcode through running runner.xcworkspace file. once it's run I get this error:

    firebase_auth/FirebaseAuthPlugin.h file not found

    I tried to change the state of headers to public but this didn't change anything.

    Error Page:

    https://drive.google.com/file/d/1MpfHsbVzuPXpZpl1ZhNZmTAP-bgQ5Mt4/view?usp=sharing

    Flutter Doctor:

    https://drive.google.com/file/d/1yQzMZA9W3ue4LM1Uwu8H2wBMic3WVWyt/view?usp=sharing