title: How to import GoogleMobileAds framework?
body: <p>I am following the instructions on the following page to integrate admob with my iOS application:</p>
  
  <p><a href="https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start#manually_using_the_sdk_download" rel="nofollow">https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start#manually_using_the_sdk_download</a></p>
  
  <p>Unfortunately, when I try:</p>
  
  <pre><code>@import GoogleMobileAds;
  </code></pre>
  
  <p>my project won't compile, with the error: </p>
  
  <blockquote>
    <p>Use of '@import' when modules are disabled</p>
  </blockquote>
  
  <p>I tried the following:</p>
  
  <ol>
  <li><p>Using <code>#import</code> instead of <code>@import</code>. This does not work, because "GoogleMobileAds" does not show up. Instead I have to import the framework, which leads to many errors showing up, which xcode doesn't even display because there are too many.</p></li>
  <li><p>Going to my target -> build settings -> Apple LLVM 6.0 - Language - Modules -> Enable Modules (C and Objective-C) and setting it to "YES". Even after doing this the same error appears.</p></li>
  </ol>
  
  <p>How does one fix this ?</p>