Asset catalog compiler cannot find the app icon set
None of the input catalogs contained a matching app icon set named "AppIcon"Short answer
The target asks for an app icon by name, and no asset catalog or Icon Composer file in the target has that name. Compare the App Icon name in the target's General tab with the real name of your icon set, and make them identical. Then clean the build folder and build again.
Fix it fast
1Find out which cause you have
Print the icon name the target is asking for, then compare it with the set names in your catalog.
xcodebuild -showBuildSettings -target MyApp | grep -E "ASSETCATALOG_COMPILER_APPICON_NAME|INCLUDE_ALL_APPICON" find . -name "*.appiconset" -o -name "*.icon" | grep -v build2Match what you see, then jump to its fix
- 1
The setting prints one name and the find command lists another, for example MyIcon.appiconsetThe icon set was renamed, or the build setting names a different setFix - 2
There is a .icon file in the project but no .appiconset, and the App Icon field holds a different nameThe project uses an Icon Composer .icon file whose name does not matchFix - 3
Assets.xcassets has no app icon set at all, or only the alternate icon setsThe primary icon set is missing from the catalog, so there is nothing to matchFix
- 1
What does the error look like?
None of the input catalogs contained a matching app icon set named "AppIcon"
Cause 1 of 3
The icon set was renamed, or the build setting names a different set
1Check
ASSETCATALOG_COMPILER_APPICON_NAME (Primary App Icon Set Name) is the name of the app icon set used as the target's default icon. The folder name in Assets.xcassets must equal it.
grep -n "ASSETCATALOG_COMPILER_APPICON_NAME" MyApp.xcodeproj/project.pbxproj2Fix
Either rename the set in the asset catalog to the name in the setting, or change the setting (General tab, App Icons and Launch Screen, or Build Settings) to the real set name. Do it for every build configuration that overrides it.
// Debug.xcconfig / Release.xcconfig
ASSETCATALOG_COMPILER_APPICON_NAME = MyIcon3Verify
Clean the build folder and build the target.
xcodebuild clean build -target MyApp -configuration DebugConfirmed by developer.apple.com
Cause 2 of 3
The project uses an Icon Composer .icon file whose name does not match
1Check
With an Icon Composer file, the App Icon field must match the file name without the extension. You can keep several .icon files, but only the one matching that field is used, and the file replaces an AppIcon asset catalog set in recent Xcode.
find . -name "*.icon" -not -path "./build/*"2Fix
Select the target, open General, and in App Icons and Launch Screen set App Icon to the file name without .icon (AppIcon.icon uses AppIcon). Confirm the file sits in the target's folder.
# Target > General > App Icons and Launch Screen > App Icon = AppIcon3Verify
Build again and open the built app's Info.plist for icon keys.
xcodebuild build -target MyApp -configuration DebugConfirmed by developer.apple.com
Cause 3 of 3
The primary icon set is missing from the catalog, so there is nothing to match
1Check
A project from the template starts with an app icon set named AppIcon. If it was deleted, nothing carries that name.
ls MyApp/Assets.xcassets2Fix
Select the asset catalog, click the Add button (+), choose the OS variant App Icon, and name it to match the primary icon setting. Drag a 1024 x 1024 image into it; iOS can generate the other sizes from that one image.
# Assets.xcassets > + > iOS > iOS App Icon (named AppIcon)3Verify
Build again.
xcodebuild build -target MyApp -configuration DebugConfirmed by developer.apple.com
How do I stop it coming back?
- Rename an icon set only together with the Primary App Icon Set Name setting.
- Keep alternate icons out of the primary setting: list them in the alternate icon sets setting instead.
- Use one icon source per target, either an asset catalog set or a .icon file.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.
Which stack is behind this page?
Related fixes
Mobile apps
Cannot change the App Privacy answers in App Store Connect
Publish Your App Privacy Responses?
Only the Account Holder, Admin and App Manager roles can answer the App Privacy questions.
2 causes, each with a fixMobile apps
App record creation fails because you lack permission
You cannot add a new app in App Store Connect as a Developer or limited user
Only the Account Holder, an Admin or an App Manager can create an app record, and Apple blocks it until the Account Holder has signed the latest agreement.
3 causes, each with a fixMobile apps
You cannot find the button to pull your app back from review
No 'remove this version from review' message appears on the version page
There is no button called Reject Binary.
3 causes, each with a fixMobile apps
Your Apple Account cannot sign in to App Store Connect
Sign-in to App Store Connect is refused for an account that should have access
App Store Connect does not open to every Apple Account.
3 causes, each with a fixMobile apps
Apple rejected the app under Guideline 4.3, Design: Spam
Guideline 4.3(b) - Design - Spam
Guideline 4.3 is Apple's duplicate rule.
5 causes, each with a fixMobile apps
App Store Connect rejects a screenshot because it has transparency
Images can't include alpha channels or transparencies.
App Store Connect does not accept screenshots that carry an alpha channel or transparent pixels.
2 causes, each with a fix