iosios11xcode9launchimage

Why is a Launch Image needed despite having a Lauch Screen File?


In iOS 10 I used a Launch Screen File instead of Launch Images:

enter image description here

After converting to Swift 4 in Xcode 9 for iOS 11 I get the following warning:

Missing "Default-568h@2x.png" launch image

enter image description here

Why is a launch image needed when there is already the launch screen?


Solution

  • The solution was to temporarily add a launch image asset catalog.

    1. Click on Use Asset Catalog...:

    enter image description here

    1. Choose to create a new asset catalog:

    enter image description here

    1. Switch back to Don't use asset catalogs:

    enter image description here

    1. Delete the automatically created Images.xcassets.

    2. The warning is gone.