[英]Error building Flutter iOS app - Firebase
My app is not building for the iOS simulator.我的应用程序不是为 iOS 模拟器构建的。
I've tried a clean, looks like it's a Firebase issue.我试过一个干净的,看起来是一个 Firebase 问题。
I'm using these versions:我正在使用这些版本:
dependencies: flutter: sdk: flutter firebase_core: ^0.5.0 cloud_firestore: ^0.14.0+2 firebase_auth: ^0.18.0+1依赖项:flutter:sdk:flutter firebase_core:^0.5.0 cloud_firestore:^0.14.0+2 firebase_auth:^0.18.0+1
In file included from /Users/ramshaw/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.0/ios/Classes/FLTFirebasePluginRegistry.m:5:
In file included from /Users/ramshaw/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.0/ios/Classes/FLTFirebasePluginRegistry.h:6:
/Users/ramshaw/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.0/ios/Classes/FLTFirebasePlugin.h:123:4: error: expected a type
+ (FlutterError *_Nonnull)createFlutterErrorFromCode:(NSString *_Nonnull)code
^
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 11.
在 iPhone 11 上启动应用程序时出错。
Fixed.固定的。
Why one file at a time?为什么一次一个文件?
'cause if I replaced the folder, it did not build.因为如果我替换了文件夹,它就没有建立。
I'm happy my app is building again but not sure why and that doesn't make me happy.我很高兴我的应用程序再次构建,但不知道为什么,这并没有让我高兴。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.