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.

Crash on Splash Screen iOS 12.3.1

See original GitHub issue

Run react-native info in your project and share the content.

Environment:
  OS: macOS 10.14.5
  Node: 10.15.3
  Yarn: 1.16.0
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 10.2.1 Build version 10E1001
  Android Studio: 3.4 AI-183.5429.30.34.5452501

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: ^0.55.4 => 0.55.4

What react-native-splash-screen version are you using?

"react-native-splash-screen": "^3.0.9",

What platform does your issue occur on? (Android/iOS/Both)

iOS

Describe your issue as precisely as possible :

  1. Steps to reproduce the issue or to explain in which case you get the issue

The issue usually happens when I submit the app for release to TestFlight. At the moment it’s being rejected, cause they only receive a blank screen. I’m unable to reproduce the bug locally.

  1. Interesting logs

Join a screenshot or video of the problem on the simulator or device?

apple-rejection-blank-splash-screen-bug

Show us the code you are using?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:16

github_iconTop GitHub Comments

6reactions
vikrantshroticommented, Oct 16, 2019

I can confirm using

@ou2s

Just to confirm. You are saying you fixed the issue by using

[RNSplashScreen showSplash:@"LaunchScreen" inRootView:rootView];

Instead of

[RNSplashScreen show]

Or did you use something else IE showSplash:inRootView:

I can confirm using : [RNSplashScreen showSplash:@“LaunchScreen” inRootView:rootView]; instead of [RNSplashScreen show]

fixed crash for me.

4reactions
ou2scommented, Aug 28, 2019

FYI, I will try to use [RNSplashScreen showSplash:@"LaunchScreen" inRootView:rootView]; instead of [RNSplashScreen show]. You just have to create a View (.xib) via Xcode.

It seems like it’s fixing the problem since it won’t go into the Run Loop that was causing the crash.

EDIT: I confirm that you can workaround this issue by using the showSplash:inRootView: method instead of show (cc @corelmax @chevonc @mcorner @sebiVPS @colaskirschoff )

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios 12 crash on launch after splash screen - Apple Developer
Hi, when our users update their ios to 12, for some of them our app start to crash on launch, exactly after splash...
Read more >
iOS release version crashes immediately after showing splash ...
My release version on the app store is crashing directly after the splash screens show up. Debug version runs fine as does the...
Read more >
Ios Application Crash After Launch Screen - ADocLib
This message typically appears on iOS devices when your application Xcode but crashes while loading the first level when launched manually on the...
Read more >
Xamarin.iOS app crash after splash screen - condition 'oti' not ...
The intriguing part about this problem is that the app works perfectly fine on the iPhone 6s Plus with iOS version 12.3.1 but...
Read more >
Apps Crashing on macOS Ventura? Here's the Fix
Incompatible apps will crash on startup. You should update them to a version compatible with macOS Ventura. For apps downloaded from the Apple ......
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