Why don't I see my app icon in iOS?


#1

I’m building an app and I now want to add an app icon in iOS. So following this tutorial I added the following lines between the <widget> tags in my config.xml:

<platform name="ios">
    <!-- iPhone / iPod Touch -->
    <icon src="icons/ios/icon.png" width="57" height="57" />
    <icon src="icons/ios/icon@2x.png" width="114" height="114" />

    <!-- iOS 7.0+ -->
    <!-- iPhone / iPod Touch -->
    <icon src="icons/ios/icon-60.png" width="60" height="60" />
    <icon src="icons/ios/icon-60@2x.png" width="120" height="120" />

     <!-- iPhone Spotlight and Settings Icon -->
    <icon src="icons/ios/icon-small.png" width="29" height="29" />
    <icon src="icons/ios/icon-small@2x.png" width="58" height="58" />
</platform>

On Android the icon shows perfectly well, but on iOS I don’t see any of the icons (which is basically all the same file but renamed).

Does anybody know what I’m doing wrong? All tips are welcome!


#2

Are you sure the paths are correct? If they are, you could try to remove the platform and then add it back.


#3

You can also take a look at the amazingness Ionic has done here.