title: Google-API for Objective-C: no such file or directory - libGTLTouchStaticLib.a
body: <p>I tried to include the Google-Api in my iOS-App. Wanted to include Google Drive.</p>
  
  <p>So I followed everything on <a href="https://developers.google.com/drive/ios/quickstart" rel="nofollow">https://developers.google.com/drive/ios/quickstart</a> .</p>
  
  <p>After many hours of try-and-error it's not working at all.</p>
  
  <p>It starts that the whole thing doesn't seem to be 64bit-capable and XCode will complain ...didn't contain all required architectures...". After fiddling around with different build settings I got that out of my way.</p>
  
  <p>Than the howto advices only to copy two files (<code>GTLDrive.h</code> and <code>GTLDrive_Sources.m</code>) into your project. This results in the complaint <code>GTLDriveConstants.h</code> would be missing. In the end you have to copy the whole <code>Drive/Generated</code> folder into your project. After that it still complained <code>GTLQuery.h</code> would be missing, so I imported all the header-files (yes, I set the "User Header Search Paths" to the source-folder of the Google-API, doesn't help).</p>
  
  <p>Next build will produce a lot of "duplicate symbol"s. After a lot of searching and finding out I had to clean up the "Compile Sources" in "Build Phases". Now that problem was solved, but now I'm stuck.</p>
  
  <p>Now it complains:</p>
  
  <blockquote>
    <p>clang: error: no such file or directory: '/Users/#myself#/Library/Developer/Xcode/DerivedData/#my-project#-finogpkkwtusudgbuiiodrxfuxwm/Build/Products/Debug-iphonesimulator/libGTLTouchStaticLib.a'</p>
  </blockquote>
  
  <p>I got libGTLTouchStaticLib.a added to the application project's Build Phases "Link Binary with Libraries" list like adviced in the howto.</p>
  
  <p>I got no more ideas. Anybody?</p>
  
  <p>BTW: What a pain-in-the-ass! Dropbox-integration was so easy; import the framework - go!
  Dropbox 1, Google -1.000.000</p>