title: Use of unresolved identifier GGLContext and GAI
body: <p>I am having a bit of trouble.  I am attempting to install Google Analytics into an app and am consistently getting the use of unresolved identifier <code>GGLContext</code> and <code>GAI</code> error.  I receive the same error whether I am using CocoaPods or not. The location of the error is in the <code>AppDelegate.swift</code> here:</p>
  
  <pre><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
      // Override point for customization after application launch.
  
      var configureError:NSError?
      GGLContext.sharedInstance().configureWithError(&amp;configureError)
      assert(configureError == nil, "Error configuring Google services: \(configureError)")
  
      // Optional: configure GAI options.
      let gai = GAI.sharedInstance()
      gai.trackUncaughtExceptions = true  // report uncaught exceptions
  
      return true
  }
  </code></pre>
  
  <p>Nothing additional is able to be imported into the <code>AppDelegate.swift</code>(such as Google), just the standard <code>UIKit</code>.</p>
  
  <p>I have been through many tutorials and other SO questions, all to no avail.  I figure that there is some small thing I am missing, but cannot find it.</p>
  
  <p>What I've done:</p>
  
  <p>I have the <code>.h</code> files in my project, along with <code>libGoogleAnalyticsServices.a</code>, <code>libsqlite3.0.tbd</code>, <code>libz.tbd</code>, <code>libsqlite3.tbd</code> (all of which have been linked to library as well as CoreData and SystemConfiguration).</p>
  
  <p>You can see the layout of all these files here:</p>
  
  <p><a href="https://i.stack.imgur.com/kmd7s.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kmd7s.png" alt="enter image description here"></a></p>
  
  <p>and here:</p>
  
  <p><a href="https://i.stack.imgur.com/6TP5T.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6TP5T.png" alt="enter image description here"></a></p>
  
  <p>I have created the <code>-Bridging-Header.h</code> and included these <code>.h</code> imports in it.</p>
  
  <pre><code>#import "GAI.h"
  #import "GAIDictionaryBuilder.h"
  #import "GAIEcommerceFields.h"
  #import "GAIEcommerceProduct.h"
  #import "GAIEcommerceProductAction.h"
  #import "GAIEcommercePromotion.h"
  #import "GAIFields.h"
  #import "GAILogger.h"
  #import "GAITrackedViewController.h"
  #import "GAITracker.h"
  </code></pre>
  
  <p>The <code>-Bridging-Header.h</code> is linked in the Build Settings and I receive no errors with that.  That is the main solution that I have found during my research, which hasn't helped me in this situation.</p>
  
  <p>I have tried to start over from scratch twice with CocoaPods and without (I made a copy of my project before starting) and I received the same error each time.</p>
  
  <p>Any help would certainly be appreciated.  Thanks in advance.</p>