title: Could not build module 'opencv2' , when using OpenCV in Swift Project
body: <p>I have added <strong>opencv</strong> framework through <strong>cocoapods</strong>. I added required <a href="https://i.stack.imgur.com/jR20x.png" rel="nofollow noreferrer">frameworks</a> to <strong>Linked Frameworks and Libraries</strong> as well. </p>
  
  <p>As, I am using Swift. So, I made a bridging header with "<strong>Wrapper</strong>" NSObject in Objective C. Problem is that when I try to import these in <strong>Wrapper.h</strong>, it gives me error</p>
  
  <pre><code>#import &lt;opencv2/opencv.hpp&gt;
  #import &lt;opencv2/imgcodecs/ios.h&gt;
  </code></pre>
  
  <p>Error is:</p>
  
  <pre><code>Could not build module 'opencv2'
  </code></pre>
  
  <p>Where as if I import them in <strong>Wrapper.mm</strong> they work fine. Kindly tell me how to use them in header file. As I need to call a few variables from header file.</p>