title: Unable to link GoogleAnalytics 3.01 with XCode 5 (missing required architecture x86_64)
body: <p>I have built my App (targeted for iOS7) and now want to apply Google Analytics as the last step before submission. What I did:</p>
  
  <ol>
  <li>Downloaded GA for iOS 3.01</li>
  <li><strong>Imported content</strong> of <code>/GoogleAnalytics/Library/</code> into group "GoogleAnalytics"</li>
  <li>Imported <code>libGoogleAnalyticsServices.a</code> into group "GoogleAnalytics"</li>
  <li>Added <strong>Build Phases</strong> and swapped build phase <code>libGoogleAnalytics_debug.a</code> with <code>libGoogleAnalyticsServices.a</code></li>
  <li>Added code block <code>#include "GAI.h"</code> to my <code>-Prefix.pch</code>-file.</li>
  <li>Initialize the <code>[GAI sharedInstance]</code> in my <code>AppDelegate</code>.</li>
  </ol>
  
  <p>I have attached screenshots of the setup in the bottom of this post.
  When I try to build (either device or simulator, both 32bit), I get the following linker errors:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
    "_OBJC_CLASS_$_GAI", referenced from:
        objc-class-ref in FTVAppDelegate.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>How do I solve this?</p>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>I also get the warning</p>
  
  <pre><code>ld: warning: ignoring file .../libGoogleAnalyticsServices.a, missing required architecture x86_64 in file .../libGoogleAnalyticsServices.a (3 slices)
  ld: warning: ignoring file .../SDWebImage.framework/SDWebImage, missing required architecture x86_64 in file .../SDWebImage.framework/SDWebImage (3 slices)
  </code></pre>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>This error only occurs when building for 64bit. I had accidentally set "Build Only for active architectures" to NO, when this changed to YES, I was able to build yet again. This means that the App now does NOT work on iPhone 5S - which is still a problem.</p>