RCTBridgeModule 'file now found' issues
See original GitHub issue#ISSUE I tried the 3 ways of linking the lib to ios but this doesnt seem to be working fine (beside andorid which works just fine). Issue happening is shown below:
In file included from /Users/studocu/development/app/node_modules/react-native-store-review/ios/RNStoreReview.h:2:
../../react-native/React/Base/RCTBridgeModule.h:10:9: fatal error: 'React/RCTDefines.h' file not found
#import <React/RCTDefines.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
Some people suggesting changes in React-native folders and so on. Not sure how to make this work though!?
FYI: react-native-cli: 2.0.1 react-native: 0.58.6 Xcode 10.2 react-native-store-review: 0.1.5
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
RCTBridgeModule 'file now found' issues #34 - GitHub
ISSUE I tried the 3 ways of linking the lib to ios but this doesnt seem to be working fine (beside andorid which...
Read more >`React/RCTBridgeModule.h` file not found - Stack Overflow
This issue is occurring due to pods are not shared for all targets. So I need to add newly added target (app.staging) inside...
Read more >iOS : Build failed 'React/RCTBridgeModule.h' file not found
iOS : Build failed 'React/ RCTBridgeModule.h' file not found [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >[Solved]-`React/RCTBridgeModule.h` file not found-Reactjs
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 >React Native App no longer builds … | Apple Developer Forums
Cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an rvalue ... file not found error occurs so give proper or end to...
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
Only way I was able to make this work is by changing react-native/React/Base/RCTBridgeModule.h and putting
instead of
but then I cannot append that to my project (nor this is a problem in react!) Not sure why we use 2 different ways of importing and why the normal one doesn’t work!
I was able to get it working by using the cocoapods approach instead of react-native link: https://github.com/oblador/react-native-store-review#using-cocoapods