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.

iOS SplashScreen.h file not found

See original GitHub issue

Hi,

Thank you for the awesome library. With react-native 0.40, after running react-native link react-native-splash-screen and adding #import "SplashScreen.h" to AppDelegate.m for iOS, I get the error SplashScreen.h file is not found when trying to build the project.

Is anybody else experiencing the same issue or know what’s wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:23
  • Comments:25 (1 by maintainers)

github_iconTop GitHub Comments

157reactions
gamingumarcommented, Jul 20, 2018

change from SplashScreen.h to RNSplashScreen.h and also change in the file. line 52 to [RNSplashScreen show];

83reactions
nkuebler000commented, Jul 21, 2018

Add to Header Search Paths: “$(SRCROOT)/…/node_modules/react-native-splash-screen/ios” In AppDelegate.m: #import “RNSplashScreen.h”

and

[RNSplashScreen show];

right before “return YES;”

Read more comments on GitHub >

github_iconTop Results From Across the Web

RNSplashScreen.h not found · Issue #451 - GitHub
To fix 'RNSplashScreen.h' file not found, you have to select your project → Build Settings → Search Paths → Header Search Paths to...
Read more >
React native SplashScreen.h file not found - Stack Overflow
//To fix 'RNSplashScreen.h' file not found, you have to select your project → //Build Settings → Search Paths → Header Search Paths to ......
Read more >
[Solved]-React native SplashScreen.h file not found-React ...
//To fix 'RNSplashScreen.h' file not found, you have to select your project → //Build Settings → Search Paths → Header Search Paths to...
Read more >
react-native-splash-screen - npm
react-native-splash-screen-Android react-native-splash-screen-iOS ... To fix 'RNSplashScreen.h' file not found , you have to select your ...
Read more >
@cross2d/react-native-splash-screen - npm package | Snyk
A splash screen for react-native, hide when application loaded ,it works on iOS ... To fix 'SplashScreen.h' file not found , you have...
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