Check the configuration of IOS in flutter. Then create a Podfile, inside that file add the following libraries to be able to use Firebase auth:
pod 'Firebase/Core'
pod 'Firebase/Auth'
Then go to this path flutterApp\ios\Runner\AppDelegate.m and import and configure firebase:
#include "AppDelegate.h"
#include "GeneratedPluginRegistrant.h"
@import Firebase; // new
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//configure firebase
[FIRApp configure]; // new
[GeneratedPluginRegistrant registerWithRegistry:self];
// Override point for customization after application launch.
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
@end