RCTBridgeModule.h not found when trying to build
See original GitHub issueWhen attempting to build and run for ios, the below error is recieved. I have attempted both react-native link and manually linking the node module. The error persists. Without the keychain dependency, there are no issues and the applications functions as expected.
In file included from [REDACTED]/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m:10:
[REDACTED]/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.h:9:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import "React/RCTBridgeModule.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC [REDACTED]/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNKeychain.build/Objects-normal/x86_64/RNKeychainManager.o [REDACTED]/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (1 by maintainers)
Top Results From Across the Web
`React/RCTBridgeModule.h` file not found - Stack Overflow
In my case this particular problem happened when I was trying to archive a 0.40+ react-native app for iOS (solution was found here:...
Read more >[iOS - RN 0.61.1 migration] React/RCTBridgeModule.h file not ...
Go to scheme -> edit scheme -> build, delete the React(missing) using the 'minus' button. Click on 'add' or a 'plus' button. Find...
Read more >Ios – `React/RCTBridgeModule.h` file not found - iTecNote
In my case this particular problem happened when I was trying to archive a 0.40+ react-native app for iOS (solution was found here:...
Read more >[Solved]-`React/RCTBridgeModule.h` file not found-Reactjs
What happened was that Xcode was trying to build the react-native libraries in parallel and was building libraries with implicit react dependencies before ......
Read more >Fatal error: 'React/RCTBridgeModule.h' file not found
h ”) while building iOS archive in Bitrise for react native project and this error is not appearing in my local machine with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@steventnorris-40AU and for others coming here after having trouble with react-native-keychain.
See my comment here https://github.com/itinance/react-native-fs/issues/408#issuecomment-402897855
After attempting several times to get this to install using the ignite-keychain plugin. I came upon this error
Your Podfile probably has a local link to the RNKeychainManager with a dependency on React (0.11 old version). To fix, add this to your Podfile and run
pod install
:I had to modify this slightly changing GLog to glog. Also, if your node_modules directory is not in the same directory as your Podfile change your paths to …/node_modules
did a pod update and all fell in place for me