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

53,731

Solution 1

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

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" enter image description here

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. enter image description here

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.enter image description here

Share:
53,731

Related videos on Youtube

Amit.TS
Author by

Amit.TS

Updated on July 09, 2020

Comments

  • Amit.TS
    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
    JustADev about 9 years
    Hi, 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
    Tr0yJ about 9 years
    Thanks. I had to click into all three boxes shown until the value would switch back. But this was the required fix for me!
  • aryaxt
    aryaxt about 9 years
    Thanks @Tr0yJ that was the case for me
  • Desmond
    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
    ScottyBlades almost 6 years
    I already have AppIcon in build settings. This did not solve it.
  • ScottyBlades
    ScottyBlades almost 6 years
    My AppIcon is just red here. Mine is "Use Asset Catalog" already.
  • ScottyBlades
    ScottyBlades almost 6 years
    Nailed it! Thank you.
  • ScottyB
    ScottyB over 4 years
    In 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
    CyberMew over 4 years
    This was what I did when I switched from LaunchImage to LaunchScreen (storyboard).
  • Anurag Sharma
    Anurag Sharma about 4 years
    Thanks! 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
    Matt about 4 years
    I 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
    MikeJ about 4 years
    Had a similar issue. Did same as suggested, but added New iOS App Icon, was missing for some reason
  • SamWise
    SamWise almost 4 years
    Its 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
    Borzh almost 4 years
    Actually OSX uses backspace (or CMD+backspace) in many places as a delete button, as Mac's keyboard doesn't have a DEL key.
  • busuu
    busuu over 2 years
    THANK YOU. I spent DAYS googling to fix this crap...
  • Johana Lopez 1327
    Johana Lopez 1327 about 2 years
    Now-days this is deprecated...