title: Can't run flutter app with firebase on IOS as it giving error
body: <p>Integrating Firebase in my flutter app. For Android it works fine but for IOS it gives an error</p>
  
  <pre><code>Running Xcode build...
  Xcode build done.                                           22.9s
  Configuring the default Firebase app...
  *** First throw call stack:
    (
       0   CoreFoundation                      0x00007fff23c7127e __exceptionPreprocess + 350
       1   libobjc.A.dylib                     0x00007fff513fbb20 objc_exception_throw + 48
       2   CoreFoundation                      0x00007fff23c710bc +[NSException raise:format:] + 188
       3   Runner                              0x00000001063194ea +[FIRApp configure] + 138
       4   Runner                              0x00000001063eb446 -[FLTFirebaseAnalyticsPlugin init] + 214
       5   Runner                              0x00000001063eb27d +[FLTFirebaseAnalyticsPlugin registerWithRegistrar:] + 173
       6   Runner                              0x00000001063144e3 +[GeneratedPluginRegistrant registerWithRegistry:] + 115
       7   Runner                  &lt;…&gt;
  </code></pre>
  
  <p>I added GoogleService-Info.plist under Runner by right click on Runner and Add the files using XCode! and its showing inside Runner/Runner folder.</p>
  
  <p><a href="https://i.stack.imgur.com/i4qrF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i4qrF.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/3lDEM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3lDEM.png" alt="enter image description here"></a></p>
  
  <p>But it still not working and crash as app start on emulator.</p>
  
  <p>AppDelegate.swift code is:-</p>
  
  <pre><code>import UIKit
  import Flutter
  import Firebase
  
  @UIApplicationMain
  @objc class AppDelegate: FlutterAppDelegate {
     override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
        ) -&gt; Bool {
           FirebaseApp.configure()
           GeneratedPluginRegistrant.register(with: self)
           return super.application(application, didFinishLaunchingWithOptions: launchOptions)
     }
  }
  </code></pre>
  
  <p>What I am missing due to still getting error? </p>
  
  <p>I added <code>pod 'Firebase/Analytics'</code> in bottom of <code>Podfile</code></p>