title: Getting Use of unresolved identifier 'Analytics' Firebase Analytics
body: <p>I have integrated google's firebase Analytics, I have succefully created an App at consol.</p>
  <p>I have followed the link to integrate:
  <a href="https://firebase.google.com/docs/analytics/get-started?platform=ios" rel="nofollow noreferrer">https://firebase.google.com/docs/analytics/get-started?platform=ios</a></p>
  <ul>
  <li><p>Added GoogleService-Info.plist</p>
  </li>
  <li><p>Created the iOS app using xcode 11.3</p>
  </li>
  <li><p>Add below pods:</p>
  <pre><code>// Uncomment the next line to define a global platform for your project
  
  platform :ios, '12.0'
  
  target 'FirebaseAnalytics' do
  
  //Comment the next line if you don't want to use dynamic frameworks
  
  use_frameworks!
  
  inhibit_all_warnings!
  
  Analytics
  pod 'Firebase/Core'
  pod 'Firebase/Analytics'
  pod 'Firebase/Performance'
  pod 'Firebase/Crashlytics'
  
   #Pods for FirebaseAnalytics
  
  end
  </code></pre>
  </li>
  <li><p>In App Delegate: import Firebase</p>
  </li>
  <li><p>In didFinishLaunchingWithOptions FirebaseApp.configure()</p>
  </li>
  </ul>
  <p>Till yet all look lood but I am getting below error while loging an event</p>
  <pre><code> Analytics.logEvent(&quot;go_premium&quot;, parameters: [
                     &quot;name&quot;: &quot;Go premium&quot; as NSObject,
                     &quot;text&quot;: &quot;click_on_go_premium_button&quot; as NSObject
                     ])
  </code></pre>
  <p><strong>Use of unresolved identifier 'Analytics'</strong></p>
  <p>Please suggest me If I am doing something wrong. Thanks in Advance.</p>
  <p><a href="https://i.stack.imgur.com/VQBX9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VQBX9.png" alt="enter image description here" /></a></p>