title: Using @import in a CocoaPods project
body: <p>I have a header in a CocoaPods project I'm working on in Xcode 6, in which I have an <code>@import Cocoa;</code> statement. It builds fine in its own project, but when I integrate it into the client app, I get the following error:</p>
  
  <blockquote>
    <p>Use of '@import' when modules are disabled</p>
  </blockquote>
  
  <p>I checked the <strong>CLANG_ENABLE_MODULES</strong> setting in every target of my client project, as well as every target in the Pods project, and every single one is set to <code>YES</code>. What could be triggering this error. I can switch back to a <code>#import</code>, which does fix it, but I'd like to understand why this is happening, since everything looks like it's configured properly.</p>
  
  <p>I pushed my podspec (UnzipKit), but I also replaced the <code>@import</code> statements with <code>#import</code> to get it working. Also, I'm using Cocoapods 0.35.0. If you use this in your Podfile, it'll get you the <code>@import</code> version.</p>
  
  <pre><code>pod 'UnzipKit', :git =&gt; 'https://github.com/abbeycode/UnzipKit.git', :commit =&gt; '38cd0225015a245b0d3167666b3f40d57f99147a'
  </code></pre>