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.

After upgrading to RN 0.60.4 - can't compile.

See original GitHub issue

After having updated to RN 0.60.4 I can’t compile on iOS.

Error: #import <React/RCTBridgeModule.h> file not found.

It appears as if react-native-splash-screen can’t find the React dependency. How do I tell react-native-splash-screen where React is? Since 0.60 React is added via Pods explicitly.

Is there any way to add this project as a Pod instead of adding it manually?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

4reactions
vinurscommented, Aug 2, 2019

since 0.60+, u can use another library https://github.com/zoontek/react-native-bootsplash

4reactions
jpudyszcommented, Aug 1, 2019

I was able to compile it with RN 0.60.4

Steps to make it work:

react-native unlink react-native-splash-screen
rm -rf Pods
remove pod react-native-splash-screen from Pods if you have one
revert all steps from installation guide for ios: https://github.com/crazycodeboy/react-native-splash-screen
add pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen' to Pods
pod install 
Clean Build in XCode

Everything should work now.

Regarding issue with OBJC_CLASS$_RNSplashScreen you need to remove react native splash screen fom Header Search Paths (revert all steps from installation guide)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading a React Native app from 0.60 to 0.65 - YouTube
Jamon attempts to upgrade a React Native app from 0.60 to 0.65 with ... mixed results. ... Your browser can't play this video....
Read more >
Using Hermes - React Native
After upgrading the app, make sure everything works before trying to switch to Hermes. Note for React Native compatibility. Each Hermes release ...
Read more >
Upgrading react native to latest version - Stack Overflow
My advice is to upgrade to the latest version. There will be enough dependency issues anyway so you're best dealing with them only...
Read more >
React Native Upgrade Helper
When upgrading, you should replace them with your actual project's name. ... 12, ; For RN Apps installed via npm, "Libraries" folder is...
Read more >
react-native-pdf - npm
After installation and running, I can not see the pdf file. ... Update example project to RN 0.60.4; fix blank view after native...
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