LaunchScreen doesn't show on simulator in Xcode 12.4

I just upgraded to Xcode 12.4, created a project using the "app" template, without SwiftUI, I chose Storyboard instead.

I placed a small image on the LaunchScreen.storyboard, and an NSLog output in my ViewController.

When I run the app on the simulator, the LaunchScreen does not, show, and I do get my NSLog output. So I know the app is running. When run this bare app on my physical iPhone X...I do get the launch screen.

So I opened a game app I started under Xcode 11.x. It will show the LaunchScreen on both simulator and my device.

I've checked that Launch screen interface file base name is set to LaunchScreen in Info.plist. It's also set under App Icons and Launch Images.

Is this some bug?


Answered by OOPer in 659890022

Is this some bug?

May be, or may not be.

I created a vanilla project with Xcode 12.4 of type iOS/Game/Sprite Kit.
And then added LaunchScreen.storyboard with File > New > File... > User Interface/Launch Screen.
I then chose the file in the pull down Launch Screen File.

Whether I added an image (UIImageView) or not, the content of LaunchScreen.storyboard is shown at launch of the app.

One thing I needed to care about is that without adding constraints to the UIImageView, the image was shown at an unexpected place.

So, you might have done something wrong, or might have hit the edge case of some sort of bugs.
Not sure under the currently shown info.
Accepted Answer

Is this some bug?

May be, or may not be.

I created a vanilla project with Xcode 12.4 of type iOS/Game/Sprite Kit.
And then added LaunchScreen.storyboard with File > New > File... > User Interface/Launch Screen.
I then chose the file in the pull down Launch Screen File.

Whether I added an image (UIImageView) or not, the content of LaunchScreen.storyboard is shown at launch of the app.

One thing I needed to care about is that without adding constraints to the UIImageView, the image was shown at an unexpected place.

So, you might have done something wrong, or might have hit the edge case of some sort of bugs.
Not sure under the currently shown info.
I really touched nothing. Made at least 10 new projects, and same thing occurred. I did it just now...touched nothing but changing the color of the storyboard and it works.

I've seen a few postings of the same problem. <shrug>

I've seen a few postings of the same problem.

Can you clarify the settings or the environment to reproduce the issue?
Sort of macOS version or simulator versions or any such things may be affecting.

Can you clarify the settings or the environment to reproduce the issue?
Sort of macOS version or simulator versions or any such things may be affecting.


I'll do you on better.... feel free to download the zip file

98 . 7 . 37 . 118

Am using Xcode 12.4
on a Mac osBigSur


And then added LaunchScreen.storyboard with File > New > File... > User Interface/Launch Screen.

In the end, deleting the original LaunchScreen, and creating a new one solved the problem. It now shows up both the simulator and the physical iPhone. Would still love to know why tho.

LaunchScreen doesn't show on simulator in Xcode 12.4
 
 
Q