title: Importing FirebaseAnalytics module instead of Firebase
body: <p>I was working on Google Analytics and google said that I need to install Firebase to handle Google Analytics actions.</p>
  
  <p>I installed Firebase through Cocoapods and imported property list(.plist) file that firebase.google.com supplied.</p>
  
  <p>But when I try to import Firebase module by <code>import Firebase</code> Xcode says there is no such module and auto-complete advises <code>import FirebaseAnalytics</code>.</p>
  
  <p>If I use FirebaseAnalytics module I got the error shown below. I looked through <a href="https://stackoverflow.com/questions/34215522/cannot-import-firebase-into-swift-class">this</a> question, but none of the answers solved my problem.</p>
  
  <p>Podfile:</p>
  
  <pre><code># Uncomment this line to define a global platform for your project
   platform :ios, '8.0'
  
  
  target 'MyApp do
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks
    use_frameworks!
    # Pods for MyApp
      pod 'Firebase/Core'
  
    target 'MyAppTests' do
      pod 'Firebase/Core'
      inherit! :search_paths
      # Pods for testing
    end
  
    target 'MyAppUITests' do
      inherit! :search_paths
      # Pods for testing
    end
  
  end
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Llen6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Llen6.png" alt="enter image description here"></a></p>