Search code examples
iosxcodeasset-catalog

Xcode 6.1 Warning about Launch Image in Asset Catalog


I am using Xcode 6.1 to create a app supporting iOS 6 and later.

.In target's "App Icons and Launch Images", I set the Launch Images Source as "Use Asset Catalog" and Launch Screen File to "LaunchScreen".

In Images.xcassets which created by Xcode, I fill in every box for "LaunchImage", but there's always a warning message:

Retina 4-inch Support. Applications using Launch Screen Files and targeting iOS 7.1 and earlier need to also include a Launch Image in an Asset Catalog.

I created another Image Set named as "Default" and fill in the "Retina 4 2x" box with expected image. But the warning message still there.

Any hint to clear this warning? Thanks.


Solution

  • I ran into the exact same problem this morning. Here's how I fixed it.

    1. Select your Target in the project navigator. Under the General tab, you should see the section for App Icons and Launch Images. Where you see Launch Images Source, click 'Use Asset Catalog'.

    2. You will then see Migrate launch images to an asset catalog dialogue. Click 'Migrate'.

    3. Make sure that your Launch Images Source on the previous screen points to the right image set in your asset catalog. In your case, you would set it to 'Default'.

    That should take care of the warning.