如何修复Xcode中找不到的'firebase_auth/FirebaseAuthPlugin.h'文件? [英] How to fix 'firebase_auth/FirebaseAuthPlugin.h' file not found in Xcode?
本文介绍了如何修复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
文件
我试图将标头的状态更改为public,但这没有任何改变.
I tried to change the state of headers to public but this didn't change anything.
错误页面:
Flutter Doctor:
推荐答案
尝试一下
-
ios文件夹中的
-
pod install
命令 -
xcodebuild -sdk iphonesimulator11.2 -scheme Runner -workspace Runner.xcworkspace
pod install
command in ios folderxcodebuild -sdk iphonesimulator11.2 -scheme Runner -workspace Runner.xcworkspace
这篇关于如何修复Xcode中找不到的'firebase_auth/FirebaseAuthPlugin.h'文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文