title: React native base headers for ios not found
body: <p>During the iOS linking phase, I started seeing errors for my React Native project. </p>
  
  <p>React Native version: <code>0.41.2</code>, <code>0.40</code>, <code>0.39</code></p>
  
  <p>All worked fine, I edited the Android version, React Native code didn't change, when this kind of linking errors started showing up with headers on <code>/node_modules/react-native/React/Base/{RCTHeaderName.h}</code> path not being found:</p>
  
  <p><a href="https://i.stack.imgur.com/u9mA2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/u9mA2.png" alt="The error"></a></p>
  
  <pre><code>In file included from /Users/user/ReactNativeProject/node_modules/react-native-vector-icons/RNVectorIconsManager/RNVectorIconsManager.h:9:
  ../react-native/React/Base/RCTBridgeModule.h:12:9: fatal error: 'React/RCTDefines.h' file not found
  #import &lt;React/RCTDefines.h&gt;
          ^
  </code></pre>
  
  <ul>
  <li><p>In the <strong>Link Binary With Libraries</strong> I include the core React library
  (<code>libReact.a</code>).</p></li>
  <li><p>The location of the <code>RCTLog.h</code> is
  <code>PROJECTROOT/node_modules/react-native/React/Base/RCTLog.h</code>, but the
  import is <code>#import &lt;React/RCTLog.h&gt;</code></p></li>
  <li><p>Newly adding <code>React.xcodeproj</code> into Libraries doesn't help, Xcode's <code>Product &gt; Clean</code> doesn't help, neither does restarting Xcode</p></li>
  <li><p><code>react-native run-android</code> works, <code>react-native run-ios</code> shows the error</p></li>
  <li><p>File permissions set to the user executing <code>react-native run-ios</code></p></li>
  </ul>