Alternate App Icon Naming for Universal Apps

What is the correct naming for iOS & iPadOS apps when you are implementing AlternateIcons ?

In addition, do you need to delete assets catalogue when you offer alternate icons?

I have seen that it is enough to have 2x and 3x icons but what about settings and notifications?

Here is my file list and Info.plist section.

Code Block plist
<key>CFBundleIcons</key>
<dict>
<key>CFBundleAlternateIcons</key>
<dict>
<key>dark</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>dark</string>
</array>
</dict>
<key>original</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>original</string>
</array>
</dict>
</dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>original</string>
</array>
</dict>
</dict>
<key>CFBundleIcons~ipad</key>
<dict>
<key>CFBundleAlternateIcons</key>
<dict>
<key>dark</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>dark</string>
</array>
</dict>
<key>original</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>original</string>
</array>
</dict>
</dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>original</string>
</array>
</dict>
</dict>


Folder structure

Code Block bash
_Assets.xcassets
| _AppIcon.appiconset
| | _88.png
| | _1024.png
| | _76.png
| | _60.png
| | _48.png
| | _216.png
| | _58.png
| | _167.png
| | _72.png
| | _172.png
| | _29.png
| | _100.png
| | _114.png
| | _120.png
| | _20.png
| | _Contents.json
| | _180.png
| | _57.png
| | _80.png
| | _55.png
| | _196.png
| | _40.png
| | _87.png
| | _50.png
| | _144.png
| | _152.png
_AppIcons
| _dark@1x.png
| _original@1x.png
| _original@1x~ipad.png
| _dark@1x~ipad.png
| _original@3x.png
| _dark@2x~ipad.png
| _original@2x~ipad.png
| _original@2x.png
| _original@2x~ipad-pro.png
| _dark@3x.png
| _dark@2x.png
| _dark@2x~ipad-pro.png
_GeneratedPluginRegistrant.h
_Base.lproj
| _LaunchScreen.storyboard
| _Main.storyboard
_AppDelegate.swift
_GeneratedPluginRegistrant.m
_Info.plist



Alternate icons cannot be in the asset catalog, they must be added directly to the app bundle. Here's a gist with an extract from an Info.plist I used in one of my own apps. I provided icons for both iPhone and iPad.

https://gist.github.com/hacknicity/2d56919ecd5b2f4cf9970a93abc27418

Alternate App Icon Naming for Universal Apps
 
 
Q