Hi, I'm facing the following issue on version 3.1.0 with Xcode 9 while building iOS app
node_modules/react-native-splash-screen/ios/RNSplashScreen.m:52:6: unknown receiver 'SplashScreen'; did you mean 'RNSplashScreen'?
Looking at RNSplashScreen.m:52:6, I found this
RCT_EXPORT_METHOD(show) {
[SplashScreen show];
}
When replacing SplashScreen by RNSplashScreen the build succeeds. But I'm wondering if it's the right way to go.
Thanks.
+1
I think it should be replaced, I also had to rename it in AppDelegate.m.
If so, documentation should be also updated to #import "RNSplashScreen.h" and [RNSplashScreen show];
@CptFabulouso there is already a pull request for updating the installation documentation for iOS https://github.com/crazycodeboy/react-native-splash-screen/pull/254/commits/efd49072a9756cf84d7876bf8f13867ae3ffe529
I see, also the export has PR #253
+1 :(...
+1
+1
I've create a pull request #266 to fix it.
Any news on this ticket? Currently the plugin is broken unfortunately.
Most helpful comment
I've create a pull request #266 to fix it.