title: Can't add native packages to detached Expo project with Xcode (React-Native)
body: <p>I am trying to add native dependencies to a blank Expo project for react-native. I keep getting this error after the build in Xcode: <code>‘React/RCTBridge.h’ file not found</code>. The particular library I want to use is <code>react-native-camera</code>, but I have tried other libraries and they don't link correctly either.  I can get the libraries to link correctly with projects created with <code>react-native-init</code> and <code>create-react-native-app</code> (which has been detached).  Here are the steps I took to create and detach from the expo project:</p>
  
  <p><strong>EDIT (I did steps 4,5, and 8 differently for different types of linking)</strong></p>
  
  <ol>
  <li>I created a new exp project. </li>
  <li>I added the following to my app.json:
  <code>
  "ios": {
      "bundleIdentifier": "com.yourcompany.yourappname",
      "supportsTablet": true
  },
  "android": {
      "package": "com.yourcompany.yourappname"
  }
  </code></li>
  <li><p><code>exp detach</code></p></li>
  <li><p><code>npm i react-native-camera@0.6 --save</code></p></li>
  <li><code>react-native link</code></li>
  <li><code>npm i</code></li>
  <li><code>cd ios</code></li>
  <li><code>pod install</code></li>
  <li><code>exp start</code></li>
  </ol>
  
  <p>I have attempted the following solutions (A, B, C):</p>
  
  <p>A. From: <a href="https://github.com/lwansbrough/react-native-camera" rel="nofollow noreferrer">react-native-camera's docs</a>
  <strong>1)Mostly automatic install with CocoaPods
  2)Manual install</strong></p>
  
  <p>B. From : <a href="https://docs.expo.io/versions/v18.0.0/guides/expokit.html#changing-native-dependencies" rel="nofollow noreferrer">the expo docs</a></p>
  
  <blockquote>
    <p>because react-native link is not aware of CocoaPods, it may not do a
    complete job installing your dependency. If you encounter build issues
    locating the  headers, you may need to manually add
    Pods/Headers/Public to the Header Search Paths configuration for your
    native dependency in Xcode...The target you care to configure is the one created by react-native link inside your Xcode project. You’ll want to determine the relative path from your library to Pods/Headers/Public</p>
  </blockquote>
  
  <p>By doing this:
  <a href="https://i.stack.imgur.com/IOwKM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IOwKM.png" alt="enter image description here"></a></p>
  
  <p>C. And, finally, I tried
  <a href="https://stackoverflow.com/questions/41477241/react-native-xcode-upgrade-and-now-rctconvert-h-not-found">This answer from stackoverflow</a></p>