【发布时间】:2021-11-21 07:52:27
【问题描述】:
我遇到了这个问题,我的应用程序没有构建,因为它说
fatal error: 'Flutter/Flutter.h'
file not found
#import <Flutter/Flutter.h>
我整天都在研究这个问题,但没有得到任何结果。这是一个简单的程序(打开flutter新项目时得到的初始代码),并添加了firebase_core。
整个 XCode 输出:
Xcode's output:
↳
In file included from
/Users/alfieanil/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_cor
e-1.10.0/ios/Classes/FLTFirebaseCorePlugin.m:5:
/Users/alfieanil/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_cor
e-1.10.0/ios/Classes/FLTFirebaseCorePlugin.h:9:9: fatal error: 'Flutter/Flutter.h'
file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
直到一两个月前,我的 Flutter 都运行良好。颤振版本 = 2.0.6
非常感谢任何帮助。
谢谢
【问题讨论】:
标签: firebase flutter flutter-2