• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

iOS iPhoneX splash screen does not work

When testing my game on iPhone X device, the splash screen is black. The splash screen has been set for all devices using "Tools > Generate Project Images". As specified in the documentation, I confirmed that my .png is authored as 24bit PNG with no transparencies.

Xcode gives the following console warning while the game boots up on the device:

2019-06-10 09:08:27.795214-0400 [12525:3755201] View did appear
2019-06-10 09:08:28.250460-0400 [12525:3755201] ES2 rendering /var/containers/Bundle/Application/test.app/
[email protected]
libpng error: CgBI: unknown critical chunk
2019-06-10 09:08:28.267758-0400 [12525:3755201] ReadPNG :: a PNG error occured
2019-06-10 09:08:28.268524-0400 [12525:3755201] InitRunner
2019-06-10 09:08:28.268543-0400 [12525:3755201] FreeSplash
2019-06-10 09:08:28.268565-0400 [12525:3755201] FreePNGFile()
2019-06-10 09:08:28.268590-0400 [12525:3755201] FreeSplash - finished
2019-06-10 09:08:28.268600-0400 [12525:3755201]


I also tried to go into build settings and set
Remove Text Metadata From PNG Files = NO.
This did not work either.

Why does GMS2 require a 1125 x 2436 splash screen for iPhoneX/Xs Portrait but Xcode is complaining about a 1100 x 2436 launch image? Could there be a bug in GMS2?

I'm using the latest Xcode and latest version of GMS2. This used to work in earlier versions.
 

rIKmAN

Member
When testing my game on iPhone X device, the splash screen is black. The splash screen has been set for all devices using "Tools > Generate Project Images". As specified in the documentation, I confirmed that my .png is authored as 24bit PNG with no transparencies.

Xcode gives the following console warning while the game boots up on the device:

2019-06-10 09:08:27.795214-0400 [12525:3755201] View did appear
2019-06-10 09:08:28.250460-0400 [12525:3755201] ES2 rendering /var/containers/Bundle/Application/test.app/
[email protected]
libpng error: CgBI: unknown critical chunk
2019-06-10 09:08:28.267758-0400 [12525:3755201] ReadPNG :: a PNG error occured
2019-06-10 09:08:28.268524-0400 [12525:3755201] InitRunner
2019-06-10 09:08:28.268543-0400 [12525:3755201] FreeSplash
2019-06-10 09:08:28.268565-0400 [12525:3755201] FreePNGFile()
2019-06-10 09:08:28.268590-0400 [12525:3755201] FreeSplash - finished
2019-06-10 09:08:28.268600-0400 [12525:3755201]


I also tried to go into build settings and set
Remove Text Metadata From PNG Files = NO.
This did not work either.

Why does GMS2 require a 1125 x 2436 splash screen for iPhoneX/Xs Portrait but Xcode is complaining about a 1100 x 2436 launch image? Could there be a bug in GMS2?

I'm using the latest Xcode and latest version of GMS2. This used to work in earlier versions.
Can't comment on whether this is a bug or not, but you should be able to workaround it whilst waiting to find out by opening the generated project in xCode and adding the required images there.
 
I will give that a try.
Can anyone confirm that they have been able to see a splash screen on iPhoneX using latest Xcode version?
 
W

wkaudio

Guest
I will give that a try.
Can anyone confirm that they have been able to see a splash screen on iPhoneX using latest Xcode version?
I had the same issue. I solved the problem by adding the images to Xcode :)
 
Top