Christian Benseler
Christian Benseler

Reputation: 8065

Build Cordova project in Xcode: missing icon

I'm trying to build a cordova (version 4) based project with Xcode (for iOS). Everything is working until the process to validate the archive. I'm build for iOS v > 7 and always have the error:

"iTunes Store operation failed: missing required icon file. The bundle does not contain an app icon for iPhone of exactly '120x120' pixels in .png format for iOS versions.

The thing is, there is such file, as shows in the printscreen! printscreen with Xcode nav, with the Resources/icons folder

I'm sure the file icon-120.png is exactly 120x120px (I have saved several times it, using Photoshop, Fireworks, https://github.com/AlexDisler/cordova-icon plugin).

I don't know if I have to configure anything else. I have also reloaded Xcode, nothing seems to work by now :-/

Upvotes: 3

Views: 1373

Answers (1)

Ayman Salama
Ayman Salama

Reputation: 449

go to Xcode, view -> Navigators -> Show Project Navigrator

Go to Resources in the project navigator

Click on Image-xcassets

you will see all the icons that the xcode is using to build. Most likely, you will a lot of warning sign attached to each icon. read the required size from each warning. right click -> go to finder, then change the icon size from preview app as required. repeat for each icon with warning till you resolve all of them.

Upvotes: 1

Related Questions