react-native-splash-screen icon indicating copy to clipboard operation
react-native-splash-screen copied to clipboard

Update readme please based on this

Open nueq22 opened this issue 5 years ago • 0 comments

I've solved this problem on RN 0.60.5 and Xcode 11.0 beta 6 as follows

$ npm i react-native-splash-screen --save $ cd ./ios $ pod update

You don't need to do react-native link on XCode 11 beta + RN >= 0.60

And 'Do Not' add the libSplashScreen.a library to Link Binary With Libraries since this will cause the 'Duplicate Symbol Error'.

And go to AppDelegate.m and import the header as follows #import <react-native-splash-screen/RNSplashScreen.h> instead of #import "RNSplashScreen.h"

And the remaining steps are the same as those in README.md

This will remove 'React/RCTBridgeModule.h' file not found error. I hope anyone who has the same problem finds this helpful.

Thanks.

Originally posted by @regalfaith in https://github.com/crazycodeboy/react-native-splash-screen/issues/215#issuecomment-532537228

nueq22 avatar Feb 24 '20 15:02 nueq22