26

Asset Catalog Compiler Error - none of the input catalogs contained a matching app icon set named "AppIcon"

Paul Heiden
  • 261
  • 1
  • 3
  • 4

12 Answers12

23

I had a similar problem and I think it was because I accidentally deleted the AppIcon in Images.xcassets. So I will explain what I did.

  1. Open the Images.xcassets in the current project.
  2. Resize the window and move the window(Xcode) to the right.
  3. Start a new project in Xcode(a temporary one). Name it something like "temporaryApp".
  4. Open the Images.xcassets in the temporaryApp. Here, you can see AppIcon.
  5. Click and drag this to Images.xcassets of our previous app, that is placed at the right-hand side of the screen.

And voila, Build Succeeded.

Hope this works for you

Zaporozhchenko Oleksandr
  • 4,660
  • 3
  • 26
  • 48
Sidharth J Dev
  • 927
  • 1
  • 6
  • 25
12

Please verify your settings is correct. Step 1 Step 2

PREMKUMAR
  • 8,283
  • 8
  • 28
  • 51
8

I had a same issue and I solved this way. For me, I added Apple Watch extension within this project and deleting them got me into this trouble.

In the Images.xcassets, I do have "icon" and "info", but the error message was exactly same as yours but for "icon" set.

So I searched within xCode project which contains "icon". and found xcodeproj file > build settings > Asset Catalog Compiler - Options with app icon set name as "icon".

So I deleted icon leave it blank and build again, IT WORKS.

enter image description here

handicop
  • 892
  • 12
  • 25
7

This once happened to me, and I solve it correctly with an easy way :->

  1. choose the file "Images.xcassets", if your project does not have such a resource file, create it.

  2. click your mouse's right key in the blanket, and choose "New App Icon"

  3. build your project again, everything works fine now. IF NOT, check the project's "Build Settings", and find property "Asset Catalog App Icon Set Name" to see if it was "AppIcon".

Xin Chen
  • 101
  • 1
  • 2
7

Here is a simple solution

  1. Go to assets
  2. Right click -> IOS -> add AppIcon
  3. Run

enter image description here

Asbis
  • 432
  • 5
  • 16
4

You have probably deleted the Appicon in a Assets.xcassets, you can fix it by going to Assets.xcassets -> hitting the + -> App Icons & Launch Image -> New iOS App Icon.

Here's an Image

Vadim F.
  • 881
  • 9
  • 21
3

For whoever comes across this issue in the future. Verify That App Icons-> Source is set to AppIcons, and not "None". See pic

enter image description here

HaiNguyen
  • 312
  • 2
  • 10
2

This problem might be solved by removing the reference of .xcassets file and adding it back if the AppIcon and info is already setup. It worked for me when i removed the reference to Images.xcassets and then added it to project again from Xcode.

itsViksIn
  • 694
  • 4
  • 8
1

On Xcode 13+ Go to your app info -> General You will see " App Icon and launch Image", be sure to target the right folder in my case AppIcon.

Screen general app info

1

If you deleted it, simply go to your "Asset", then click on the plus on the top right of your screen and search for missing folder like "AppIcon" or "AccentColor"

Screen explanation to search for elements

2

Have a great day ‍

vimuth
  • 5,064
  • 33
  • 79
  • 116
0

In my case I run Flutter debug app on IOS Simulator. It took me up to 3 days and I still can't run it. Finally the solution that can get it working again is simply restarting my Macbook.

Doan Bui
  • 3,572
  • 25
  • 36
0

For me - it was assets catalog (that contained the app icon) had no target membership set.

Please make sure you had that set to appropriate target.

liudasbar
  • 173
  • 4
  • 11
0

For me the target membership was not set on the icons.

7RedBits.com
  • 454
  • 6
  • 6