Default cordova app icon keeps showing up


#1

I’ve tried the docs: http://cordova.apache.org/docs/en/3.4.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens

and this guide: http://blogs.telerik.com/appbuilder/posts/14-01-02/adding-icons-and-splash-screens-to-your-phonegap-icenium-projects

My directory structure has the following:

/www/res/icon/ios
Icon-60.png
Icon-60@2x.png
Icon-76.png
Icon-76@2x.png
Icon-Small-40.png
Icon-Small-40@2x.png
Icon-Small.png
Icon-Small@2x.png
iTunesArtwork.png
iTunesArtwork@2x.png

My config.xml file has this:

<platform name="ios">
              <!-- iOS 7.0+ -->
              <!-- iPhone / iPod Touch  -->
              <icon src="res/icon/ios/Icon-60.png" width="60" height="60" />
              <icon src="res/icon/ios/Icon-60@2x.png" width="120" height="120" />
              <!-- iPad -->
              <icon src="res/icon/ios/Icon-76.png" width="76" height="76" />
              <icon src="res/icon/ios/Icon-76@2x.png" width="152" height="152" />
              <!-- iOS 6.1 -->
              <!-- Spotlight Icon -->
              <icon src="res/icon/ios/Icon-40.png" width="40" height="40" />
              <icon src="res/icon/ios/Icon-40@2x.png" width="80" height="80" />
              <!-- iPhone / iPod Touch -->
              <icon src="res/icon/ios/Icon.png" width="57" height="57" />
              <icon src="res/icon/ios/Icon@2x.png" width="114" height="114" />
              <!-- iPad -->
              <icon src="res/icon/ios/Icon-72.png" width="72" height="72" />
              <icon src="res/icon/ios/Icon-72@2x.png" width="144" height="144" />
              <!-- iPhone Spotlight and Settings Icon -->
              <icon src="res/icon/ios/Icon-small.png" width="29" height="29" />
              <icon src="res/icon/ios/Icon-small@2x.png" width="58" height="58" />
              <!-- iPad Spotlight and Settings Icon -->
              <icon src="res/icon/ios/Icon-50.png" width="50" height="50" />
              <icon src="res/icon/ios/Icon-50@2x.png" width="100" height="100" />
     </platform>

The default Cordova icon keeps showing up on my device and emulator and I’m out of options to try. Does anyone know what else can be wrong?

UPDATE
I found that I can replace the icons in /platforms/ios/appname/Resources/icons and then it works.


#2

Glad to see you got it resolved.


#3

I updated to cordova 3.5 and the everything seemed to work without having to replace icons in the platform directory