Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I get an error "None of the input catalogs contained a matching launch image" in xCode5-iOS7

I'm trying to define launch images. Probably only one image is missing.

I'm following the instructions from this site Create launch images in different sizes for different devices

So I have 7 images with the required size. But when I drag them to LaonchImages sheet it requires 8 images...the one that is missing is called "iPhone Portrait 2x" and according to the details pane I found its size 640x960 and I added it.

sill I'm getting the error - and the compilation fails...

like image 936
Amit.TS Avatar asked Oct 22 '13 07:10

Amit.TS


4 Answers

Select your project, go to Build Settings, search for AppIcon-2 and change it into AppIcon and you will be fine.

enter image description here

like image 103
Desmond Avatar answered Nov 16 '22 22:11

Desmond


Select project file and then select target in question. In General tab there is in app icons and launch images launch image source should be "Use assets category" enter image description here

like image 20
user3540599 Avatar answered Nov 16 '22 22:11

user3540599


My LaunchImage file had been deleted and I had to add a new one in my xcassets.

Go to your images.xcassets. If there is no LaunchImage listed on the left, click the plus button at the bottom and navigate to new iOS launch image. enter image description here

like image 19
galactikuh Avatar answered Nov 16 '22 23:11

galactikuh


The Launch Image asset has been deprecated. I deleted the Launch Image asset but then I was getting compilation error.

In order to fix the error, the Launch Image asset catalog name has to be removed from Build Settings.enter image description here

like image 12
Abdullah Umer Avatar answered Nov 16 '22 22:11

Abdullah Umer