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.

'SplashScreen.h' file not found

See original GitHub issue

I followed the installation instruction. The library was successfully linked with react-native link The SplashScreen is now added to the Libraries folder in Xcode.

If I try to import the library with: #import "SplashScreen.h" or #import <SplashScreen.h>

I get this error: xxx/AppDelegate.m:14:9: 'SplashScreen.h' file not found

Did I forgot something?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

27reactions
kevinhaugencommented, Jul 12, 2018

It looks like SplashScreen.h was renamed to RNSplashScreen.h for your import.

There’s also a typo in the export within RNSplashScreen.h itself.

18reactions
AbhijithRobosoftcommented, Jul 12, 2018

Tried with select your project → Build Settings → Search Paths → Header Search Paths to add:

$(SRCROOT)/…/node_modules/react-native-splash-screen/ios

But still it is not working anymore.

RN version : 0.55.4 React: 16.3.1

Can anyone help please

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
1 Answer 1 ... In react-native-splash-screen lib readme.md is not updated. So what you need to change is your AppDelegate.m & RNSplashScreen.m ...
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
A splash screen for react-native, hide when application loaded ,it ... To fix 'RNSplashScreen.h' file not found , you have to select your ......
Read more >
react-native-splash-screen-rn-047 v2.1.0 - npm.io
To fix 'SplashScreen.h' file not found , you have to select your project → Build Settings → Search Paths → Header Search Paths...
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