title: iOS CocoaPods - how to resolve "use of '@import' when modules are disabled" error?
body: <p>I'm seeking how to resolve "use of '@import' when modules are disabled" when adding Google Analytics through cocoapods:</p>
  
  <pre><code>pod 'Google/Analytics', '~&gt; 1.0.0'
  link_with 'AppTarget', 'AppTargetTests'
  </code></pre>
  
  <p>In code:</p>
  
  <pre><code>#import &lt;Google/Analytics.h&gt;
  </code></pre>
  
  <p>I get this error within a pod:</p>
  
  <pre><code>"use of '@import' when modules are disabled"
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Y0cZk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y0cZk.png" alt="enter image description here"></a></p>
  
  <p>I checked all projects and see that modules are enabled, along with the other suggestiont to "Link frameworks automatically"</p>
  
  <p><a href="https://i.stack.imgur.com/Ar6vI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ar6vI.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/9svee.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9svee.png" alt="enter image description here"></a></p>
  
  <p>I cannot override this import because of this error:
  <a href="https://i.stack.imgur.com/F6w80.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F6w80.png" alt="enter image description here"></a></p>
  
  <p><strong>How can I resolve "use of '@import' when modules are disabled" when adding frameworks through cocoapods in xCode6?</strong></p>