question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'React/RCTBridgeModule.h' file not found error in react native splash screen

See original GitHub issue

System: OS: macOS Mojave 10.14.6 CPU: (4) x64 Intel® Core™ i5-5250U CPU @ 1.60GHz Memory: 356.16 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.13.0 - /usr/local/bin/node Yarn: 1.19.1 - /usr/local/bin/yarn npm: 6.13.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 Android SDK: API Levels: 23, 25, 28, 29 Build Tools: 28.0.3, 29.0.2 System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.5 AI-191.8026.42.35.6010548 Xcode: 11.3.1/11C505 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5 npmGlobalPackages: react-native-cli: 2.0.1

react-native-splash-screen@^3.2.0

What platform does your issue occur on? (OS)

I just follow the steps to install the react-native-splash-screen but after build I got this error

'React/RCTBridgeModule.h' file not found

/**
 * SplashScreen
 * 启动屏
 * from:http://www.devio.org
 * Author:CrazyCodeBoy
 * GitHub:https://github.com/crazycodeboy
 * Email:crazycodeboy@gmail.com
 */
#import <React/RCTBridgeModule.h>
#import <UIKit/UIKit.h>

@interface RNSplashScreen : NSObject<RCTBridgeModule>
+ (void)showSplash:(NSString*)splashScreen inRootView:(UIView*)rootView;
+ (void)show;
+ (void)hide;
@end

The error is on line 9

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

11reactions
Gazfaycommented, Jun 24, 2020

If you upgraded react-native to 0.60 >= - don’t forget to remove react-native-splash-screen reference in Libraries folder!

7reactions
TheEhsanSarsharcommented, Apr 4, 2020

cd ios pod install fix the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

'React/RCTBridgeModule.h' file not found · Issue #215 - GitHub
a library to Link Binary With Libraries since this will cause the 'Duplicate Symbol Error'. And go to AppDelegate.m and import the header...
Read more >
React/RCTBridgeModule.h file not found RNSSplashScreen
When configuring React Native Splash Screen i get the following Error 'React/RCTBridgeModule.h' file not found. I have looked at solutions ...
Read more >
react native splash screen get 'React/RCTBridgeModule.h' file ...
Coding example for the question react native splash screen get 'React/RCTBridgeModule.h' file not found.
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 >
React Native: How to fixed RCTBridgeModule.h file not found
React Native : How to fixed RCTBridgeModule. h file not found. 19K views 3 years ago. AppSolution. AppSolution. 126 subscribers. Subscribe.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found