title: missing required architecture x86_64 in file opencv
body: <p>experts:</p>
  
  <p>I am trying to create a C++ framework using Xcode.  My framework depends on OpenCV.  I am having the same issue as other have had to deal with.  I found a likely answer <a href="https://stackoverflow.com/questions/9729158/compile-error-xcode-4-3-1-opencv-framework">here</a> but when I try to copy the following code into my Prefix.pch file</p>
  
  <pre><code>#ifdef __cplusplus
      #import &lt;OpenCV/opencv2/opencv.hpp&gt;
  #endif
  </code></pre>
  
  <p>I get this error when I try to build:  <strong>'OpenCV/opencv2/opencv.hpp' file not found</strong></p>
  
  <p>Now, I know that it is because I'm using the opencv2.framework.  So my question is:  </p>
  
  <p><strong><em>"How do I reference that in my Prefix.pch file?"</em></strong></p>
  
  <p>Thank you for your help,
  Lucy</p>
  
  <p>-------------------------------------------------- <strong>More Info</strong> -----------------------------------------</p>
  
  <p>I tried to add the framework but that isn't working.  Is there something else I need to do?</p>
  
  <p><img src="https://i.imgur.com/SyJYGz2.png" alt="Header Search Paths"></p>
  
  <p><img src="https://i.imgur.com/2A0X9oI.png" alt="OpenCV Dir"></p>
  
  <p><img src="https://i.imgur.com/PE7e5LU.png" alt="Files in Headers"></p>
  
  <p><img src="https://i.imgur.com/JIftL7m.png" alt="Prefix.pch"></p>
  
  <p><img src="https://i.imgur.com/rsq26bG.png" alt="Frameworks"></p>