title: Could not build module Cocoa in xcode 8
body: <p>I am trying to write a simple QuickLook plugin based on apple dev docs and <a href="https://aleksandrov.ws/2014/02/25/osx-quick-look-plugin-development/" rel="nofollow noreferrer">this blog post</a>.</p>
  
  <p>But as son as I add </p>
  
  <pre><code>#import &lt;Cocoa/Cocoa.h&gt;
  </code></pre>
  
  <p>in the beginning of the *.c file I get an error: <strong>Could not build module Cocoa</strong></p>
  
  <p>Which looks like this:
  <a href="https://i.stack.imgur.com/98b4E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/98b4E.png" alt="enter image description here"></a></p>
  
  <p>I've also tried to add thos libe as a deps in the project, like this:
  <a href="https://i.stack.imgur.com/98b4E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5aok6.png" alt="enter image description here"></a>
  with no luck.</p>
  
  <p>I've already tried to reinstall xcode. Also I've read those: <a href="https://stackoverflow.com/questions/38717956/ios-could-not-build-module-framework-name">iOS : Could not build module &lt;framework-name&gt;</a>, 
  <a href="https://stackoverflow.com/questions/24351496/xcode-5-couldnt-build-module-cocoa-after-installing-xcode-6-beta-2">Xcode 5 Couldn&#39;t build module Cocoa after installing Xcode 6 beta 2</a>.</p>
  
  <p>I have xcode 8.2 and OS 10.11.</p>