ERROR-ITMS 90032 Invalid Image Path.

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I am downloading the IOS .ipa to a mac, then using ApplicationLoader to send to App store. I keep getting
Error ITMS - 90032 / the bundle does not contain an app icon
ERROR-ITMS 90022 Missing 57X57
and
Error ITMS 90023, Missing 72x72
. My config.xml, all referenced files are there and case correct.

<icon src="icon.png" />
<icon src="iconB.png" gap:platform="ios" />

<!-- iPhone 6 / 6+ -->
<icon src="icon-60@3x.png" gap:platform="ios" width="180" height="180" />

<!-- iPhone / iPod Touch -->
<icon src="icon-60.png" gap:platform="ios" width="60" height="60" />
<icon src="icon-60@2x.png" gap:platform="ios" width="120" height="120" />

<!-- iPad -->
<icon src="icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="icon-72.png" gap:platform="ios" width="76" height="76" />
<icon src="icon-76@2x.png" gap:platform="ios" width="152" height="152" />

<!-- Settings Icon -->
<icon src="icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="icon-small@2x.png" gap:platform="ios" width="58" height="58" />
<icon src="icon-57.png" gap:platform="ios" width="58" height="58" />

<!-- Spotlight Icon -->
<icon src="icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="icon-40@2x.png" gap:platform="ios" width="80" height="80" />
Photo of reichstetter

reichstetter

  • 26 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Nguyen Vinh

Nguyen Vinh

  • 7 Posts
  • 0 Reply Likes
Hi All, could you help me ? i can't fix the error.
App ID : 1773106

please help me
thanks
Photo of Jey kumar

Jey kumar

  • 6 Posts
  • 0 Reply Likes
Did you get this fixed? We are getting exact same first 3 errors
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
It's quite simple:
- either you didn't include these images in your assets, OR
- you didn't reference them in your config, OR
- the images are of the wrong type or dimensions, OR
- (most likely) your config wasn't found, read or parsed, possibly due to a wrong directory/file structure.

You need to correct the error, according to whichever applies to your situation.
Photo of Jey kumar

Jey kumar

  • 6 Posts
  • 0 Reply Likes
Petra, Thanks for answering so fast.

In config.xml we have

and under www/res/icon/ios/ we have all images in the exact dimensions, but we are getting those three errors.
config.xml is in the root above www, and we are using phonegap build with cli-5.2.0
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
config.xml is in the root above www, and we are using phonegap build with cli-5.2.0
You can't have it like that. PGB expects config and index both in the ROOT ("/") of your zip file or github repo. That's why I mentioned (most likely) wrong directory structure.
Photo of Jey kumar

Jey kumar

  • 6 Posts
  • 0 Reply Likes
Hello Petra -

Thanks for your help so far.

We have moved the config.xml to be at the same place as index.html. Both are under www folder now, and from there under res/icon/ios we have all the icons.

but still no luck, we are still getting the same error. I have verified the dimensions for the icons, they appear to be correct.

Another thing we see in the log --

CopyPNGFile build/Track.app/icon-76.png Track/Resources/icons/icon-76.png
cd /tmp/gimlet/1888828/project
/Applications/Xcode.app/Contents/Developer/usr/bin/copypng -compress /tmp/gimlet/1888828/project/Track/Resources/icons/icon-76.png /tmp/gimlet/1888828/project/build/Track.app/icon-76.png

But I don't see in the log call for copy icon-57.png or icon-72.png.

If you need
App ID
1888828

Could you please help.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Both are under www folder now
...which is NOT the ROOT directory ("/").

I can't access your app, so the app ID is to no use for me. I'll be happy to have a look, if your zip file is publicly available, somewhere. In that case, please post the link.
Photo of Jey kumar

Jey kumar

  • 6 Posts
  • 0 Reply Likes
I created a helloworld app and pushed it in GIT and made it available as public https://github.com/jeya-duraisamy/PG_...
This also gives same error when we load it in application loader.
Our app is also built in phonegap build with source code from GIT.
Photo of Jey kumar

Jey kumar

  • 6 Posts
  • 0 Reply Likes
Here is the screenshot of the error,

Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
You still don't have config.xml and index.html both in the root.

Also:
- you are using old, deprecated plugins from the pgb repo. These should be replaced by plugins from npm (which are named differently)
- you have preference for default orientation, but almost all landscape splashes are missing
- you can safely remove everything that relates to blackberry and wenOS, because these aren't built by PGB, anyway.
- version-1 of the whitelist-plugin doesn't exist. Remove that version attribute
Photo of Jey kumar

Jey kumar

  • 6 Posts
  • 0 Reply Likes
Petra thanks for all the help, in config.xml while we moved it to same level as index.html, I forgot to update icon urls respectively. After I corrected it and the suggestions that you gave, it submitted without any error.
Photo of Gonzalo Bourdieu

Gonzalo Bourdieu

  • 3 Posts
  • 0 Reply Likes
Hi, im having the same trouble. Im getting error itms 90032 and i have all the things in place. In effect, installing it in my device manually works perfect, but when i try to upload it with the application loader im getting these strange errors.


[2016-03-29 13:43:14 ART] DBG-X: parameter ErrorMessage = ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'icon.png'"


My config file is:


<!-- iconos -->
<icon src="resources/icon.png"/>

<!-- iPhone 6 / 6+ -->
<icon src="resources/icon-180.png" platform="ios" width="180" height="180" />

<!-- iPhone / iPod Touch -->
<icon src="icon-57.png" platform="ios" width="57" height="57" />
<icon src="icon-60.png" platform="ios" width="60" height="60" />
<icon src="icon-120.png" platform="ios" width="120" height="120" />

<!-- iPad -->
<icon src="icon-76.png" platform="ios" width="76" height="76" />
<icon src="icon-72.png" platform="ios" width="72" height="72" />
<icon src="icon-152.png" platform="ios" width="152" height="152" />

<!-- Settings Icon -->
<icon src="icon-20.png" platform="ios" width="29" height="29" />
<icon src="icon-58.png" platform="ios" width="58" height="58" />

<!-- splash -->
<splash src="resources/splash/ios/screen-iphone-portrait.png" platform="ios" width="320" height="480"/>
<splash src="resources/splash/ios/screen-iphone-portrait-2x.png" platform="ios" width="640" height="960"/>
<splash src="resources/splash/ios/screen-iphone-portrait-568h-2x.png" platform="ios" width="640" height="1136"/>
<splash src="resources/splash/ios/screen-ipad-portrait.png" platform="ios" width="768" height="1024"/>
<splash src="resources/splash/ios/screen-ipad-landscape.png" platform="ios" width="1024" height="768"/>
<splash src="resources/splash/ios/Default-667h@2x.png" platform="ios" width="750" height="1334"/>
<splash src="resources/splash/ios/Default-Portrait-736h@3x.png" platform="ios" width="1242" height="2208"/>
<splash src="resources/splash/ios/Default-Landscape-736h@3x.png" platform="ios" width="2208" height="1242"/>

<splash src="resources/splash/android/screen-ldpi-portrait.png" platform="android"
qualifier="port-ldpi"/>
<splash src="resources/splash/android/screen-mdpi-portrait.png" platform="android"
qualifier="port-mdpi"/>
<splash src="resources/splash/android/screen-hdpi-portrait.png" platform="android"
qualifier="port-hdpi"/>
<splash src="resources/splash/android/screen-xhdpi-portrait.png" platform="android"
qualifier="port-xhdpi"/>


Im compiling the app with phonegap remote build ios who copies the config.xml file inside www folder so i dont know what may be failing.

The error:


The app id is: 1940546
Thanks in advance!
gonzalo
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
The default icon should be in the root directory ("/") of your zip file, along with config.xml and index.html
Photo of Gonzalo Bourdieu

Gonzalo Bourdieu

  • 3 Posts
  • 0 Reply Likes
Petra, thanks for the reply, but its strange that as i dont create the zip file manually (phonegap cli does). I have put the icon.png in the root folder (at the same level that config.xml) but the index.html its still in the www folder. I have to duplicate the file at both levels?

(im checking the zip file created by phonegap cli and respects the structure of my filesystem from / root)

Thank you!
regards!
gonzalo
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
If you are building locally, you might be a bit lost here. This is the Phonegap Build forum, the place for developers who don't install node, phonegap, sdk's, plugins, platforms, java and whatnot.

You would be better off asking in the Phonegap Google Group.
Photo of Gonzalo Bourdieu

Gonzalo Bourdieu

  • 3 Posts
  • 0 Reply Likes
No! im using the phonegap build service but i build from the cli with the command:


phonegap remote build ios


After the build success, i download the ios build from: https://build.phonegap.com/apps/19405...

And when i upload the ipa file im getting that error.
Using the same method for development builds works flawlessly.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Ah. I see.
Still, the default icon can't be where you have it (I believe).
It should be in /www and you should adjust the path in config.

Also, Application Loader complains about two other icons, of which the path might also be wrong (or the actual dimension of the graphic files might be not exactly right)
Not 100% sure, though, as I don't have experience with CLI remote build.
Photo of Dario Da-Roz

Dario Da-Roz

  • 5 Posts
  • 0 Reply Likes
I get the same error:

Error itms-90032: "Invalid Image Path - no image found at the path referenced under key 'CFBundleIconFile': 'Icon.png'

what is the default icon? Never heard !
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
You might have one, though.
Could you please post your config.xml?
Photo of Dario Da-Roz

Dario Da-Roz

  • 5 Posts
  • 0 Reply Likes
MemoCard
MemoCard Learncard system
MemoCard

<!-- Support for Cordova 5.0.0 plugin system -->

<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->

<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->

<!-- iPad -->

<!-- iOS 6.1 -->
<!-- Spotlight Icon -->

<!-- iPhone / iPod Touch -->

<!-- iPad -->

<!-- iPhone Spotlight and Settings Icon -->

<!-- iPad Spotlight and Settings Icon -->
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Place your config code within a html CODE element as described under "some HTML allowed"
Photo of Dario Da-Roz

Dario Da-Roz

  • 5 Posts
  • 0 Reply Likes

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:vs="http://schemas.microsoft.com/appx/2014/htmlapps" id="io.MemoCard.App" version="2.0.2" xmlns="http://www.w3.org/ns/widgets" defaultlocale="de-DE" android-versionCode="30001">
<name>MemoCard</name>
<description>MemoCard Learncard system</description>
<author href="http://cordova.io" email="dev@cordova.apache.org">MemoCard</author>
<content src="index.html" />

<access origin="*" />
<vs:features />
<preference name="SplashScreen" value="screen" />
<preference name="windows-target-version" value="8.1" />
<!-- Support for Cordova 5.0.0 plugin system -->
<plugin name="cordova-plugin-whitelist" version="1" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<platform name="android">
<icon src="res/icons/android/icon-36-ldpi.png" density="ldpi" />
<icon src="res/icons/android/icon-48-mdpi.png" density="mdpi" />
<icon src="res/icons/android/icon-72-hdpi.png" density="hdpi" />
<icon src="res/icons/android/icon-96-xhdpi.png" density="xhdpi" />
</platform>
<platform name="ios">
<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->
<icon src="res/icons/ios/icon-60-3x.png" width="180" height="180" />
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="res/icons/ios/icon-60.png" width="60" height="60" />
<icon src="res/icons/ios/icon-60-2x.png" width="120" height="120" />
<!-- iPad -->
<icon src="res/icons/ios/icon-76.png" width="76" height="76" />
<icon src="res/icons/ios/icon-76-2x.png" width="152" height="152" />
<!-- iOS 6.1 -->
<!-- Spotlight Icon -->
<icon src="res/icons/ios/icon-40.png" width="40" height="40" />
<icon src="res/icons/ios/icon-40-2x.png" width="80" height="80" />
<!-- iPhone / iPod Touch -->
<icon src="res/icons/ios/icon-57.png" width="57" height="57" />
<icon src="res/icons/ios/icon-57-2x.png" width="114" height="114" />
<!-- iPad -->
<icon src="res/icons/ios/icon-72.png" width="72" height="72" />
<icon src="res/icons/ios/icon-72-2x.png" width="144" height="144" />
<!-- iPhone Spotlight and Settings Icon -->
<icon src="res/icons/ios/icon-small.png" width="29" height="29" />
<icon src="res/icons/ios/icon-small-2x.png" width="58" height="58" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="res/icons/ios/icon-50.png" width="50" height="50" />
<icon src="res/icons/ios/icon-50-2x.png" width="100" height="100" />
</platform>
<platform name="windows">
<icon src="res/icons/windows/Square150x150Logo.scale-100.png" width="150" height="150" />
<icon src="res/icons/windows/Square150x150Logo.scale-240.png" width="360" height="360" />
<icon src="res/icons/windows/Square30x30Logo.scale-100.png" width="30" height="30" />
<icon src="res/icons/windows/Square310x310Logo.scale-100.png" width="310" height="310" />
<icon src="res/icons/windows/Square44x44Logo.scale-100.png" width="44" height="44" />
<icon src="res/icons/windows/Square44x44Logo.scale-240.png" width="106" height="106" />
<icon src="res/icons/windows/Square70x70Logo.scale-100.png" width="70" height="70" />
<icon src="res/icons/windows/Square71x71Logo.scale-100.png" width="71" height="71" />
<icon src="res/icons/windows/Square71x71Logo.scale-240.png" width="170" height="170" />
<icon src="res/icons/windows/StoreLogo.scale-100.png" width="50" height="50" />
<icon src="res/icons/windows/StoreLogo.scale-240.png" width="120" height="120" />
<icon src="res/icons/windows/Wide310x150Logo.scale-100.png" width="310" height="150" />
<icon src="res/icons/windows/Wide310x150Logo.scale-240.png" width="744" height="360" />
</platform>
<platform name="wp8">
<icon src="res/icons/wp8/ApplicationIcon.png" width="99" height="99" />
<icon src="res/icons/wp8/Background.png" width="159" height="159" />
</platform>
<platform name="android">
<splash src="res/screens/android/screen-hdpi-landscape.png" density="land-hdpi" />
<splash src="res/screens/android/screen-ldpi-landscape.png" density="land-ldpi" />
<splash src="res/screens/android/screen-mdpi-landscape.png" density="land-mdpi" />
<splash src="res/screens/android/screen-xhdpi-landscape.png" density="land-xhdpi" />
<splash src="res/screens/android/screen-hdpi-portrait.png" density="port-hdpi" />
<splash src="res/screens/android/screen-ldpi-portrait.png" density="port-ldpi" />
<splash src="res/screens/android/screen-mdpi-portrait.png" density="port-mdpi" />
<splash src="res/screens/android/screen-xhdpi-portrait.png" density="port-xhdpi" />
</platform>
<platform name="ios">
<splash src="res/screens/ios/screen-iphone-portrait.png" width="320" height="480" />
<splash src="res/screens/ios/screen-iphone-portrait-2x.png" width="640" height="960" />
<splash src="res/screens/ios/screen-ipad-portrait.png" width="768" height="1024" />
<splash src="res/screens/ios/screen-ipad-portrait-2x.png" width="1536" height="2048" />
<splash src="res/screens/ios/screen-ipad-landscape.png" width="1024" height="768" />
<splash src="res/screens/ios/screen-ipad-landscape-2x.png" width="2048" height="1536" />
<splash src="res/screens/ios/screen-iphone-568h-2x.png" width="640" height="1136" />
<splash src="res/screens/ios/screen-iphone-portrait-667h.png" width="750" height="1334" />
<splash src="res/screens/ios/screen-iphone-portrait-736h.png" width="1242" height="2208" />
<splash src="res/screens/ios/screen-iphone-landscape-736h.png" width="2208" height="1242" />
</platform>
<platform name="windows">
<splash src="res/screens/windows/SplashScreen.scale-100.png" width="620" height="300" />
<splash src="res/screens/windows/SplashScreen.scale-240.png" width="1152" height="1920" />
<splash src="res/screens/windows/SplashScreenPhone.scale-240.png" width="1152" height="1920" />
</platform>
<platform name="wp8">
<splash src="res/screens/wp8/SplashScreenImage.png" width="768" height="1280" />
</platform>
<preference name="Fullscreen" value="True" />
<access origin="http://api.memocard.ch/odata*" />
<access origin="http://www.memocard.ch/*" />
<plugin name="cordova-plugin-device" version="1.1.1" />
<plugin name="cordova-plugin-device-orientation" version="1.0.2" />
<plugin name="cordova-plugin-dialogs" version="1.2.0" />
<plugin name="cordova-plugin-inappbrowser" version="1.2.1" />
<plugin name="cordova-plugin-network-information" version="1.2.0" />
<plugin name="cordova-plugin-splashscreen" version="3.1.0" />
<plugin name="cordova-plugin-statusbar" version="2.1.1" />
<plugin name="cordova-sqlite-storage" version="0.8.4-dev" src="https://github.com/litehelpers/Cordova-sqlite-storage.git" />
<plugin name="uk.co.workingedge.cordova.plugin.sqliteporter" version="0.1.1" src="https://github.com/dpa99c/cordova-sqlite-porter.git" />
<preference name="android-minSdkVersion" value="14" />
<preference name="android-targetSdkVersion" value="16" />
<preference name="ShowTitle" value="True" />
<access origin="xxxxxx" />
<access origin="xxx" />
<access origin="xxxx" />
<preference name="LoadUrlTimeoutValue" value="300000"/>
</widget>
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
I am flabbergasted, because you have no "Icon.png" specified. Especially strange, because the error message writes "Icon.png" capitalized, which is unusual. Somewhere, this must be coming from.

Also, I wonder why you have namespaces for vs: and cdv:
These should not be necessary, and they appear not to be hand-written.
Are you building from some tool (like Visual Studio)? If so, there might be issues like a wrong directory structure - which causes PGB not to find your own config.

Question: do you have both index.html and config.xml in the root ("/") of your zip file or git input?
Photo of Dario Da-Roz

Dario Da-Roz

  • 5 Posts
  • 0 Reply Likes
yes thats right, I have no Icon.png specified, and sorry in the error message is written icon.png not Icon.png...

and yes I building it from visual studio, and it was never a problem with the directory structure... and no in my vs solution there is index.html and config.xml not in the same root, but this was also never a problem...

everytime when i will deploy a update for IOS i spend hours to upload it, and evertime it's another error... :-(
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
It has been written in this forum about 7,825 times:

You must have both index.html and config.xml in the root of your zip file. You must!

Not in any directory.
Not in a /www directory.
In the root.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Dario,
NOTE: you can use Visual Studio as an editor, but you cannot use it for development with PGB.

This FAQ should help. Read the bold sentences.
Top Mistakes by Developers new to Cordova/Phonegap

Jesse
Photo of Dario Da-Roz

Dario Da-Roz

  • 5 Posts
  • 0 Reply Likes
No panic, everything is on the right place in my zip file... Only the icon.png which apple need is missing in the root of the zip...
Photo of Michael Meissner

Michael Meissner

  • 3 Posts
  • 0 Reply Likes
having the same issue, but unable to correct. App ID is 2102303
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
If your zip file is available online somewhere, please post its url and I'll be happy to have a look.
Photo of Michael Meissner

Michael Meissner

  • 3 Posts
  • 0 Reply Likes
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
OK. Here is some feedback:

1. The directory structure should be OK and Application Loader should find your icon.png. Are you absolutely sure that you built your app with this zip file?

2. Your zip file contains a directory /_MACOSX
Several developers have reported trouble when they had this in their zip. Once they removed it (or used a third party zip tool), the problems disappeared.

3. You are using all old, deprecated plugins from the pgb repo, which hasn't been updated for about a year, already. Use the latest versions of the plugins from npm, instead. Be aware that they are named differently.

4. Since you are only building for Android and iOS, I wonder why you have assets for blackberry and WebOS in your config (with dead paths, too)

5. You have specified a path /res/icon/ios/, which is not included in your zip

6. You have
<plugin version="1" name="cordova-plugin-whitelist"/>
That version doesn't exist. Remove the version attribute.
Photo of Michael Meissner

Michael Meissner

  • 3 Posts
  • 0 Reply Likes
The mac default compression was the issue. Thanks. I'll address the rest.