React-native: 'React/RCTBridgeDelegate.h' file not found

Created on 22 Jul 2019  路  19Comments  路  Source: facebook/react-native

I follow the official website steps to create a react-native app, but it always fails:

20190722144357

react-native: v0.59.0
react: v16.8.3

How should I solve it?

Ran Commands Question

Most helpful comment

This worked for me.
In the shell do the following commands.

  1. Navigate to your working directory.
  2. cd ios
  3. pod deintegrate
  4. pod install
  5. cd ..
  6. react-native run-ios

Hope this helps!

All 19 comments


We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

馃憠 Click here if you want to report a reproducible bug or regression in React Native.

Screen Shot 2019-07-23 at 10 39 04 AM

having the same issue

I have the same issue and react-native team are not helpful

I am also facing this issue. A temporary solution would be to run pod install in the ios directory, which will install the missing dependencies. In my case, it seems that the React scheme referenced in my project's scheme is missing.

I have same this proplem.
My slution is uninstall pod and re-Install pod. After that you need cd ios and run pod install

Good luck :v

I'm having the same issue

I've encountered this issue while upgrading from 0.58.4 to new react-native version 0.60.4. Nothing from what i found on the internet helped me, but I managed to get it working:

Go to build settings, search for 'Header search paths', select the entry, press DELETE button.

I had these values overriden, and looks like they fell back to defaults after deletion. Also Cocoapods was complaining about it with messages in Terminal after pod install:

[!] The `app [Release]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-app/Pods-app.release.xcconfig'. This can lead to problems with the CocoaPods installation

I have the same problem

Had the same problem. Issue for me was that pod install was never run in the iOS directory. Issue was fixed after running that (took a very long time).

Has a solution been found for this? I am getting the same error, despite the fact that I do have that file in my Pods/Headers/ directory.

This worked for me.
In the shell do the following commands.

  1. Navigate to your working directory.
  2. cd ios
  3. pod deintegrate
  4. pod install
  5. cd ..
  6. react-native run-ios

Hope this helps!

Thanks @Saroopashree , I think I did end up doing something like this.

pod update is worked for me!

cd ios/
pod update
cd ..
react-native run-ios

the same error.

I'm facing the same problem

@Renathesco and @xclidongbo Did you do pod deintegrate and pod install or pod update ?
Either one of them will most probably solve the error.

@Renathesco e @xclidongbo Voc锚 fez pod deintegratee pod installou pod update?
Qualquer um deles provavelmente resolver谩 o erro.

Yes I did, I'm upgrading my xcode to version 11 to see if that solves the problem

Hi, Same Error.

I got Xcode version 11.4.1 and React-native version 2.0.1, when a run pod update or pod install got this error at the end:

xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos' /Users/cael/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown--is-lightweight' option
Try /Users/cael/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information configure: WARNING: 'missing' script is too old or missing configure: error: in/Users/cael/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
configure: error: C compiler cannot create executables
See config.log' for more details

I have the latest version of Cocoapods, and my Headers folder is empty.

What I should do?

I made it! Use @YuryKorovko, in this post https://github.com/facebook/react-native/issues/18408

Now it is working.

Was this page helpful?
0 / 5 - 0 ratings