I get an error "None of the input catalogs contained a matching launch image" in xCode5-iOS7
Solution 1
Select your project, go to Build Settings, search for AppIcon-2 and change it into AppIcon and you will be fine.
Solution 2
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"
Solution 3
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.
Solution 4
I could solve this by going to Build Settings of my target, searching for word "launch", then removing (using Backspace) "Asset Catalog Launch Image Set Name", that was set to LaunchImage.
Solution 5
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.
Related videos on Youtube
![Amit.TS](https://i.stack.imgur.com/Sb1oF.gif?s=256&g=1)
Amit.TS
Updated on July 09, 2020Comments
-
Amit.TS almost 4 years
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...
-
JustADev about 9 yearsHi, that worked for me thank you, but if I may ask (as I'm new to Xcode coming from Visual Studio) Why do we also have to change it here when we already mentioned it in the "General" tab? or at least shouldn't it change automatically?
-
Tr0yJ about 9 yearsThanks. I had to click into all three boxes shown until the value would switch back. But this was the required fix for me!
-
aryaxt about 9 yearsThanks @Tr0yJ that was the case for me
-
Desmond over 8 years@OmarBizreh i think xcode allows for multiple images assets for an app and it might be a silly bug by xcode.
-
ScottyBlades almost 6 yearsI already have AppIcon in build settings. This did not solve it.
-
ScottyBlades almost 6 yearsMy AppIcon is just red here. Mine is "Use Asset Catalog" already.
-
ScottyBlades almost 6 yearsNailed it! Thank you.
-
ScottyB over 4 yearsIn my case, I switched from a "launch image" to a "launch storyboard," but I got this error after removing the launch image. Removing the Asset Catalog Launch Image Set Name (or at least clearing its value) which had been set to the launch image name fixed the issue.
-
CyberMew over 4 yearsThis was what I did when I switched from LaunchImage to LaunchScreen (storyboard).
-
Anurag Sharma about 4 yearsThanks! This helped me, I removed the launch screen from assets and it was giving me an error. Then I deleted the launch screen link from build settings.
-
Matt about 4 yearsI upgraded to XCode 11.4/iOS 13. Since Launch Images are obsolete, I changed to using a Launch storyboard. I deleted the setting for
Asset Catalog Launch Image Set Name
and XCode found the storyboard that I created. -
MikeJ about 4 yearsHad a similar issue. Did same as suggested, but added New iOS App Icon, was missing for some reason
-
SamWise almost 4 yearsIts very sad that you need to tell us all how to use xcode crappy interface by saying 'using backspace' - I spent 30 minutes trying to delete it 100 ways, but didn't try a simple backspace.
-
Borzh almost 4 yearsActually OSX uses backspace (or CMD+backspace) in many places as a delete button, as Mac's keyboard doesn't have a DEL key.
-
busuu over 2 yearsTHANK YOU. I spent DAYS googling to fix this crap...
-
Johana Lopez 1327 about 2 yearsNow-days this is deprecated...