Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET firebase_auth OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:74:41: error: incompatible block pointer types sending 'void (^)(FIRAuthDataResult *__strong, NSError *__strong)' to parameter of type 'FIRAuthResultCallback _Nullable' (aka 'void (^)(FIRUser * _Nullable __strong, NSError * _Nullable __strong)')
signInAnonymouslyWithCompletion:^(FIRAuthDataResult *authResult, NSError *error) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:7:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Private/Firebase/Firebase.h:13:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h:4:
/Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h:493:73: note: passing argument to parameter 'completion' here
- (void)signInAnonymouslyWithCompletion:(nullable FIRAuthResultCallback)completion;
^
/Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:89:29: error: incompatible block pointer types sending 'void (^)(FIRAuthDataResult *__strong, NSError *__strong)' to parameter of type 'FIRAuthResultCallback _Nullable' (aka 'void (^)(FIRUser * _Nullable __strong, NSError * _Nullable __strong)')
completion:^(FIRAuthDataResult *authResult, NSError *error) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:7:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Private/Firebase/Firebase.h:13:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h:4:
/Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h:590:61: note: passing argument to parameter 'completion' here
completion:(nullable FIRAuthResultCallback)completion;
^
/Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:126:25: error: incompatible block pointer types sending 'void (^)(FIRAuthDataResult *__strong, NSError *__strong)' to parameter of type 'FIRAuthResultCallback _Nullable' (aka 'void (^)(FIRUser * _Nullable __strong, NSError * _Nullable __strong)')
completion:^(FIRAuthDataResult *authResult, NSError *error) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:7:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Private/Firebase/Firebase.h:13:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h:4:
/Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h:372:57: note: passing argument to parameter 'completion' here
completion:(nullable FIRAuthResultCallback)completion;
^
/Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:195:31: error: incompatible block pointer types sending 'void (^)(FIRAuthDataResult *__strong, NSError *__strong)' to parameter of type 'FIRAuthResultCallback _Nullable' (aka 'void (^)(FIRUser * _Nullable __strong, NSError * _Nullable __strong)')
completion:^(FIRAuthDataResult *authResult, NSError *error) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:7:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Private/Firebase/Firebase.h:13:
In file included from /Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h:4:
/Users/marcandrew/Development/apps/flutter_auth/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h:537:63: note: passing argument to parameter 'completion' here
completion:(nullable FIRAuthResultCallback)completion;
^
/Users/marcandrew/Development/apps/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4/ios/Classes/FirebaseAuthPlugin.m:283:62: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
userData[@"lastSignInTimestamp"] = [NSNumber numberWithInt:lastSignInDate];
~ ^~~~~~~~~~~~~~
1 warning and 4 errors generated.
Could not build the application for the simulator.
Error launching application on iPhone XS.