react-nativereact-native-iosxcode10.1

React/RCTBridge.h' file not found?


I create a react-native app. I added ibeacon manager using

npm install react-native-beacons-manager
react-native link react-native-beacons-manager

After that when ı run project on xcode 10.1 ı got 'React/RCTBridge.h file not found' How can fix it? enter image description here Also when ı manage scheme show React(missing)enter image description here pop-up window when I try to add enter image description here shows this. When ı added react the ı got same error. Thanks.


Solution

  • In terminal go to your project directory

    1. Install Cocoa Pods sudo gem install cocoapods

    2 In your Project Folder: cd ios pod install