【发布时间】:2021-10-01 00:03:09
【问题描述】:
所以我在上一个项目中遇到了这个错误,同时尝试将它与我的颤振应用程序的 firebase 链接。
所以对于这个项目,我从我的 github 下载了它,我从我的电脑上传了它,我尝试了flutter run,但它显示了这个错误:
Desktop/app_with_firebase-main/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'firebase_auth' not found
@import firebase_auth;
~~~~~~~^~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
我尝试做 flutter clean 然后 deleting the pod files ,但它不会工作。但是在我的 windows 中,我在 android 设备上运行该项目,它运行得非常好。
感谢您的帮助,请解释一下这个错误是什么意思,因为每次我在我的 ios 模拟器中使用 firebase/flutter 时,我 95% 的时间都会收到这个错误。
谢谢。
【问题讨论】:
标签: firebase flutter dart firebase-realtime-database firebase-authentication