Reputation: 9319
I'm trying to publish a cordova-based app on iOS by doing the following steps:
cordova build ios
<project>/platforms/ios
in XCode<project>-Info.plist
and remove all entries related to icons (CFBundleIconFile
, CFBundleIcons
, CFBundleIcons~ipad
)ERROR: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons': 'AppIcon40x40'"
Previously, I'd had a couple of such error messages and read in other answers that they're related to an entries in <project>-Info.plist
. I could resolve most with step 3, but this one remained.
There is no entry CFBundleIcons
in this file anymore, I double-checked by opening the final app archive.
It's also remarkable that all related problem descriptions I found online (e.g. this one) include the code ITMS-90032
in the error messages, but mine does not. What could be the reason for this?
What causes this error message, or how could I further debug the issue?
Upvotes: 2
Views: 1350
Reputation: 1417
I have a similar problem with icon.png. It's since I upgraded cordova to 6.0. It the new iOS builder 4.1.0.
you can downgrade ios version to previous one :
sudo cordova platform rm ios
sudo cordova platform add [email protected]
to check iOS version
sudo cordova platforms
Upvotes: 1
Reputation: 9319
So far, I haven't found a satisfying explanation for the error message, but I've managed to apply a workaround.
I've created a new icon image file of dimensions 40x40 px and referenced in config.xml
as follows:
<icon src="img/small-icon_40.png" width="40" height="40"/>
In <project>-Info.plist
, I referenced said image under CFBundleIcons
instead of deleting the whole entry:
While there still is no file AppIcon40x40.png
in the resulting app archive, the upload/verification service doesn't seem to care anymore and the submission succeeds.
Upvotes: 2