title: RROR ITMS-9000: "Invalid Image Path error when uploading ipa file
body: <p>I have developed an app in HTML and JavaScript and when I come to upload the .ipa file to Application loader I get the following errors:</p>
  
  <pre><code>ERROR ITMS-9000: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'icon.png'"
  ERROR ITMS-9000: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '57x57' pixels, in .png format for iOS versions &lt; 7.0."
  ERROR ITMS-9000: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '72x72' pixels, in .png format for iOS versions &lt; 7.0."
  ERROR ITMS-9000: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the &lt;basename&gt; portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'."
  </code></pre>
  
  <p>The thing is all the images are there to the correct size and referenced within the config.xml file. I have looked over a large number of sites and have found no fixes. My config.xml relating to the iOS images is as follows:</p>
  
  <pre><code>&lt;icon src="icon.png"/&gt;
  &lt;icon src="www/res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57"/&gt;
  &lt;icon src="www/res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72"/&gt;
  &lt;icon src="www/res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114"/&gt;
  &lt;icon src="www/res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144"/&gt;
  </code></pre>