本文介绍了如何修复 Xcode 中找不到的“firebase_auth/FirebaseAuthPlugin.h"文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过运行 runner.xcworkspace 文件在 Xcode 中运行 Flutter 项目.一旦运行,我会收到此错误:

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 文件未找到

我尝试将标头的状态更改为公开,但这并没有改变任何东西.

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

错误页面:

颤振医生:

推荐答案

我整天都遇到同样的问题.我最终不得不将我的 Firebase_Auth 版本升级到最新版本,目前对我来说是:^0.15.3,这迫使我也不得不升级 Flutter.

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.

做了典型的

删除 PodFile 和 PodFile.lockFlutter Cleanpod 安装

我使用的是 Mac,所以我还必须将我的 Xcode 更新到 11.3.然后需要将 Mac OS 更新为 Catalina.

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.

这篇关于如何修复 Xcode 中找不到的“firebase_auth/FirebaseAuthPlugin.h"文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 20:29
查看更多