'React/RCTBridgeModule.h' file not found #import <React/RCTBridgeModule.h>
See original GitHub issue#I am getting this error. Somebody help me please;
RCTSplashScreen.h:9:9: fatal error: 'React/RCTBridgeModule.h' file not found #import <React/RCTBridgeModule.h>
It s my package.json
"dependencies": {
"@exponent/ex-navigation": "^2.1.4",
"@remobile/react-native-splashscreen": "^1.0.4",
"babel-preset-react-native-stage-0": "^1.0.1",
"eslint-plugin-react": "^6.9.0",
"intl": "^1.2.5",
"mobx": "^2.6.1",
"mobx-react": "^3.5.8",
"moment": "^2.17.1",
"react": "^15.4.1",
"react-hot-loader": "^1.3.1",
"react-native": "^0.38.1",
"react-native-facebook-login": "^1.6.0",
"react-native-fence-html": "^1.0.6",
"react-native-image-zoom-viewer": "^1.2.26",
"react-native-interactions": "^0.3.1",
"react-native-keyboard-aware-scroll-view": "^0.2.6",
"react-native-keyboard-spacer": "^0.3.0",
"react-native-maps": "^0.11.0",
"react-native-network-info": "^0.2.0",
"react-native-radio-buttons": "^0.13.0",
"react-native-scrollable-tab-view": "^0.6.0",
"react-native-swipe-list-view": "^0.3.1",
"supercluster": "^2.2.0",
"whatwg-fetch": "^2.0.2"
},
"jest": {
"preset": "jest-react-native"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-jest": "16.0.0",
"babel-plugin-transform-async-generator-functions": "^6.17.0",
"babel-preset-react-native": "^1.9.0",
"eslint": "^3.13.1",
"eslint-config-airbnb": "^14.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.9.0",
"eslint-plugin-react-native": "^2.2.1",
"jest": "16.0.2",
"jest-react-native": "16.0.0",
"react-test-renderer": "15.3.2"
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:12
- Comments:5
Top Results From Across the Web
`React/RCTBridgeModule.h` file not found - Stack Overflow
The error for me is flagged in the file RCTFileReaderModule.h. I changed the #import statement as suggested but it didn't help. I see...
Read more >[iOS - RN 0.61.1 migration] React/RCTBridgeModule.h file not ...
... If your project has a 3rd party module that are Linked manually, building it results in: React/RCTBridgeModule.h file not found.
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 >Fatal error: 'React/RCTBridgeModule.h' file not found
Hi Team, I am getting this error( fatal error: 'React/RCTBridgeModule.h' file not found #import “React/RCTBridgeModule.h”) while building ...
Read more >iOS Native Modules
You can find your iOS project here within a React Native app: Image of opening up an iOS project ... #import <React/RCTBridgeModule.h>
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
ios需要用pod 不能用link(貌似新版RN都这样了) 安装完插件后,ios直接执行下面的操作,不要操作官方的步骤 cd ios/, 运行pod install下载库 然后building setting -> header search paths -> 添加 “${PODS_ROOT}/Headers/Public/react-native-splash-screen” 记得引号是英文的
AppDelegate.m添加代码 (记得官方推荐的SplashScreen.h改成RNSplashScreen.h !!)
#import “RNSplashScreen.h” //引入头文件 … [self.window makeKeyAndVisible]; [RNSplashScreen show]; // 启动后进入启动页 return YES; …
有用的记得点赞
My issue was that various pods were using different versions of React. I needed a unified reference. Auto-removing them in the podfile fixed this issue and others.