IOS Xcode 6 LaunchImage The LaunchImage launcher installed did not have any applicable content

I deleted my original set of images to run ImageImage.

Then I went to “Application Icons and Image Launch” in the Xcode project section.

I de-selected “Run Image Source” and then reinstalled it. I get the "Migrating startup images to the asset catalog." I select the asset catalog and Migration, and then the launchImage set of images opens.

I add my files, but then I get a red compilation warning.

I checked Plist - nothing happened there at all.

I used to have yellow warnings about ambiguous content and incorrect file sizes — I checked and double-checked — they were the right size!

How can i fix it?

EDIT: I found this in my files. Am I just deleting the selected folder?

ios file folder with 2nd images folder

+6
source share
2 answers

Go to the project explorer and select a project. Click Form Phases. At the bottom there is a section called “Copying Package Resources”. I suspect that you will find two images.xcassets files there, and if so, delete them by highlighting and clicking the minus icon (there are legitimate reasons to have two or more, but you would purposefully do this so that it is outside the scope of this response). For the rest, add your images to LaunchImage.

The reason for adding two is unclear, so I’ll add that if you use multiple targets, you may have different images.xcassets for each target (by default, xcode adds multiple values). However, if most of the assets are the same and you do not want to control the multipliers, you can use them for all purposes and write an add script to create phases for copying various assets, such as the startup image, at compilation time. This is also done in the build steps: add a phase that runs the script and then a copy (cp) to copy the images. Needless to say, you have to do this with very few assets: I use it to launch images and application icons.

Edited to add: there is a new scheme in which startup images are in storyboards and / or xib. I assume that you are not using it because you said that you are using old startup images, but if you want, just put your launcher image in the / xib storyboard launcher image file.

+9
source

Hi, for your question, please go to the following link:
EDIT: I tried to repair the problem you are facing. please check your "images.xcassets", you need both "Launchimage" and "AppIcon" in "images.xcassets". If you do not have "LaunchImage" or "AppIcon", it will generate an error.
Based on the added image, it seems that you removed image.xcassets from the application, but did not transfer the trash.
You can follow the image below to set screen launch images.
1.) Before entering the startup image in images.xcassets
enter image description here 2.) images.xcassets without an image on the startup screen

enter image description here 3.) Add a startup screen image to images.xcassets
enter image description here 4.) Set the launch image in the start window Image
enter image description here

This will help you add new "image.xcassets" to your application.
http://www.intertech.com/Blog/xcode-assets-xcassets/
5.) Folder structure after adding a new xcasset image
enter image description here 6.) Launched the application after deleting and adding new image assets.
enter image description here This will help you if you only removed the startup image from your "images.xcassets" images, not your images. Xcassets.
How to use Image.xcassets:
To set the launch image and other images in the application.
https://www.youtube.com/watch?v=_36Y6rDcKP0&list=PLXCowKcXAVgrCe2Lezv0acRf4adQLshv2

Hope this will be more helpful.

0
source

Source: https://habr.com/ru/post/979303/


All Articles