In order to compile the application and sign the app we need to follow the apple guidelines to link the application icons appropriately.
The info.plist file contains general information about the application like the application name, versionh, device type and icon. The following the Apple guidelines https://developer.apple.com/library/content/qa/qa1686/_index.html shows the correct icon handling in the info.plist file , also shows the keys definition that we need to use and what icons are always required, please make sure that your info.plist file contains the following structure.
Configuring Icons Without an Asset Catalog
-
Follow the steps in the Xcode Help to add each icon image to your project as a resource.
-
Locate the target’s information property list in the project navigator. By default it will be named Info.plist
. Command click on it and choose Open As > Source Code from the context menu.
As of iOS 5.0, icons are specified by including the CFBundleIcons
key. Older applications may have previously specified their icons by including the CFBundleIconFiles
key. This key should be removed if it is still present (don’t forget to remove any device specific variants too). All applications should migrate to the CFBundleIcons
key to specify their icons.
The value for the CFBundleIcons
key is a dictionary with two child keys: CFBundlePrimaryIcon
and UINewsstandIcon
. The UINewsstandIcon
key is for newsstand apps and can otherwise be omitted. The value for the CFBundlePrimaryIcon
key is a dictionary that identifies the icon images associated with the bundle. It may contain two child keys: CFBundleIconFiles
and UIPrerenderedIcon
. The value for the UIPrerenderedIcon
key is a boolean that specifies whether the images already incorporate a shine effect. The value for CFBundleIconFiles
key is an array of strings, each identifying an image in the bundle.
Important: When specifying the name of each image, it is best to omit any extensions. Omitting the extension lets the system automatically detect high-resolution (@2x
or @3x
) variants of the image using the standard-resolution image filename. If you include extensions, you must specify all image files (including the high-resolution variants) explicitly
<key>CFBundleIcons</key>
|
<dict>
|
<key>CFBundlePrimaryIcon</key>
|
<dict>
|
<key>CFBundleIconFiles</key>
|
<array>
|
<string>Icon-Small</string>
|
<string>Icon-Small-40</string>
|
<string>Icon-Small-50</string>
|
<string>Icon</string>
|
<string>Icon-60</string>
|
<string>Icon-72</string>
|
</array>
|
</dict>
|
</dict>
|
<key>CFBundleIcons~ipad</key>
|
<dict>
|
<key>CFBundlePrimaryIcon</key>
|
<dict>
|
<key>CFBundleIconFiles</key>
|
<array>
|
<string>Icon-Small</string>
|
<string>Icon-Small-40</string>
|
<string>Icon-Small-50</string>
|
<string>Icon-72</string>
|
<string>Icon-76</string>
|
<string>Icon-83.5</string>
|
</array>
|
</dict>
|
</dict>
|
Apple Comments
Icons for iPhone-only Applications
iPhone-only applications use the following icons. Items marked with “Required” must be included.
Note: You should include images for the iPad-specific icons even if the application is not a universal app. If available, they will be used when the application is installed on an iPad.
Table 1 iPhone-only application icon requirements.
Image Size (px)
|
File Name
|
Used For
|
App Store
|
Ad Hoc
|
512×512
|
iTunesArtwork
|
App list in iTunes
|
Do not include
|
Optional but recommended
|
1024×1024
|
iTunesArtwork@2x
|
App list in iTunes on devices with retina display
|
Do not include
|
Optional but recommended
|
120×120
|
Icon-60@2x.png
|
Home screen on iPhone/iPod Touch with retina display
|
Required
|
Required
|
180×180
|
Icon-60@3x.png
|
Home screen on iPhone with retina HD display
|
Optional but recommended
|
Optional but recommended
|
76×76
|
Icon-76.png
|
Home screen on iPad
|
Optional but recommended
|
Optional but recommended
|
152×152
|
Icon-76@2x.png
|
Home screen on iPad with retina display
|
Optional but recommended
|
Optional but recommended
|
167×167
|
Icon-83.5@2x.png
|
Home screen on iPad Pro
|
Optional but recommended
|
Optional but recommended
|
40×40
|
Icon-Small-40.png
|
Spotlight
|
Optional but recommended
|
Optional but recommended
|
80×80
|
Icon-Small-40@2x.png
|
Spotlight on devices with retina display
|
Optional but recommended
|
Optional but recommended
|
120×120
|
Icon-Small-40@3x.png
|
Spotlight on devices with retina HD display
|
Optional but recommended
|
Optional but recommended
|
29×29
|
Icon-Small.png
|
Settings
|
Recommended if you have a Settings bundle, optional otherwise
|
Recommended if you have a Settings bundle, optional otherwise
|
58×58
|
Icon-Small@2x.png
|
Settings on devices with retina display
|
Recommended if you have a Settings bundle, optional otherwise
|
Recommended if you have a Settings bundle, optional otherwise
|
87×87
|
Icon-Small@3x.png
|
Settings on devices with retina HD display
|
Recommended if you have a Settings bundle, optional otherwise
|
Recommended if you have a Settings bundle, optional otherwise
|
Table 2 iPhone-only application icon requirements (iOS 6.1 and earlier).
Image Size (px)
|
File Name
|
Used For
|
App Store
|
Ad Hoc
|
57×57
|
Icon.png
|
Home screen on iPhone/iPod touch (iOS 6.1 and earlier)
|
Required
|
Required
|
114×114
|
Icon@2x.png
|
Home screen on iPhone/iPod Touch with retina display (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
72×72
|
Icon-72.png
|
Home screen on iPad (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
144×144
|
Icon-72@2x.png
|
Home screen on iPad with retina display (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
29×29
|
Icon-Small.png
|
Spotlight on iPhone/iPod Touch (iOS 6.1 and earlier), and Settings on all devices
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
58×58
|
Icon-Small@2x.png
|
Spotlight on iPhone/iPod Touch with retina display (iOS 6.1 and earlier), and Settings on all devices with retina display
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
50×50
|
Icon-Small-50.png
|
Spotlight on iPad (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
100×100
|
Icon-Small-50@2x.png
|
Spotlight on iPad with retina display (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
You can include distinct images for the iPhone and iPad icons in categories where the required sizes are equivalent, for example, Settings.
Table 3 iPad-only application icon requirements.
Image Size (px)
|
File Name
|
Used For
|
App Store
|
Ad Hoc
|
512×512
|
iTunesArtwork
|
Ad Hoc iTunes
|
Do not include
|
Optional but recommended
|
1024×1024
|
iTunesArtwork@2x
|
Ad Hoc iTunes on devices with retina display
|
Do not include
|
Optional but recommended
|
76×76
|
Icon-76.png
|
Home screen on iPad
|
Required
|
Required
|
152×152
|
Icon-76@2x.png
|
Home screen on iPad with retina display
|
Optional but recommended
|
Optional but recommended
|
167×167
|
Icon-83.5@2x.png
|
Home screen on iPad Pro
|
Optional but recommended
|
Optional but recommended
|
40×40
|
Icon-Small-40.png
|
Spotlight
|
Optional but recommended
|
Optional but recommended
|
80×80
|
Icon-Small-40@2x.png
|
Spotlight on devices with retina display
|
Optional but recommended
|
Optional but recommended
|
29×29
|
Icon-Small.png
|
Settings
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
58×58
|
Icon-Small@2x.png
|
Settings on devices with retina display
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Table 5 Universal application icon requirements.
Image Size (px)
|
File Name
|
Used For
|
App Store
|
Ad Hoc
|
512×512
|
iTunesArtwork
|
App list in iTunes
|
Do not include
|
Optional but recommended
|
1024×1024
|
iTunesArtwork@2x
|
App list in iTunes for devices with retina display
|
Do not include
|
Optional but recommended
|
120×120
|
Icon-60@2x.png
|
Home screen on iPhone/iPod Touch with retina display
|
Required
|
Required
|
180×180
|
Icon-60@3x.png
|
Home screen on iPhone with retina HD display
|
Optional but recommended
|
Optional but recommended
|
76×76
|
Icon-76.png
|
Home screen on iPad
|
Required
|
Required
|
152×152
|
Icon-76@2x.png
|
Home screen on iPad with retina display
|
Optional but recommended
|
Optional but recommended
|
167×167
|
Icon-83.5@2x.png
|
Home screen on iPad Pro
|
Optional but recommended
|
Optional but recommended
|
40×40
|
Icon-Small-40.png
|
Spotlight
|
Optional but recommended
|
Optional but recommended
|
80×80
|
Icon-Small-40@2x.png
|
Spotlight on devices with retina display
|
Optional but recommended
|
Optional but recommended
|
120×120
|
Icon-Small-40@3x.png
|
Spotlight on devices with retina HD display
|
Optional but recommended
|
Optional but recommended
|
29×29
|
Icon-Small.png
|
Settings
|
Recommended if you have a Settings bundle, optional otherwise
|
Recommended if you have a Settings bundle, optional otherwise
|
58×58
|
Icon-Small@2x.png
|
Settings on devices with retina display
|
Recommended if you have a Settings bundle, optional otherwise
|
Recommended if you have a Settings bundle, optional otherwise
|
87×87
|
Icon-Small@3x.png
|
Settings on devices with retina HD display
|
Recommended if you have a Settings bundle, optional otherwise
|
Recommended if you have a Settings bundle, optional otherwise
|
Table 6 Universal application icon requirements (iOS 6.1 and earlier).
Image Size (px)
|
File Name
|
Used For
|
App Store
|
Ad Hoc
|
57×57
|
Icon.png
|
Home screen on iPhone/iPod touch (iOS 6.1 and earlier)
|
Required
|
Required
|
114×114
|
Icon@2x.png
|
Home screen on iPhone/iPod Touch with retina display (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
72×72
|
Icon-72.png
|
Home screen on iPad (iOS 6.1 and earlier)
|
Required
|
Required
|
144×144
|
Icon-72@2x.png
|
Home screen on iPad with retina display (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
29×29
|
Icon-Small.png
|
Spotlight on iPhone/iPod Touch (iOS 6.1 and earlier), and Settings on all devices
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
58×58
|
Icon-Small@2x.png
|
Spotlight on iPhone/iPod Touch with retina display (iOS 6.1 and earlier), and Settings on all devices with retina display
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
Recommended if you have a Settings bundle, otherwise optional but recommended
|
50×50
|
Icon-Small-50.png
|
Spotlight on iPad (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
100×100
|
Icon-Small-50@2x.png
|
Spotlight on iPad with retina display (iOS 6.1 and earlier)
|
Optional but recommended
|
Optional but recommended
|
Related: