Xcode 6.1 Warning about Launch Image in Asset Catalog

IosXcodeAsset Catalog

Ios Problem Overview


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.

Ios Solutions


Solution 1 - Ios

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. Hope that helps!

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionArnoldView Question on Stackoverflow
Solution 1 - Iosuser2199783View Answer on Stackoverflow