iOS Application Loader error about missing 72px icon in my PhoneGap Build .ipa

  • 5
  • Problem
  • Updated 4 years ago
  • In Progress
Dear PhoneGap Build Support,
I am at the final stage of submitting my app for review to the Apple App Store. However, the iOS Application Loader is failing with the following error when I try to send my .ipa from PhoneGap Build:

ERROR ITMS-9000: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '72x72' pixels, in .png fomat." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)

I have triple-checked that my config.xml correctly lists the path to my 72px iOS icon PNG. I even regenerated the PNG thinking it might have been corrupted somehow. Still no luck. I wondered if filenames and directory paths to the icons needed to match your documentation exactly: still no luck.

I am using the latest version of Xcode 5.0, which contains the Application Loader (it is no longer a separate install). And running the latest OS X (Mountain Lion).

So, I'm wondering if this is:
1. something wrong with my PhoneGap Build set-up?
2. a bug in PhoneGap Build's iOS .ipa?
3. a bug in Xcode/Application Loader?

Can you disclude options #1 from this list? I would like confirmation that my config.xml is OK and that my iOS .ipa does indeed contain the 72px icon (I don't know how to check this). My project is located here:

https://build.phonegap.com/apps/54580...

I have separately filed an Apple Bug Report to see if the problem is with Xcode/Application Loader.

Many thanks! I was excited to learn about PhoneGap Build and I'm still hoping this will get the job done for uploading our app to the App Store.
Cheers,
John Maurer
Pacific Islands Ocean Observing System (PacIOOS)
University of Hawaii at Manoa
Photo of PacIOOS Voyager

PacIOOS Voyager

  • 6 Posts
  • 1 Reply Like
  • frustrated

Posted 7 years ago

  • 5
Photo of Red2678

Red2678

  • 255 Posts
  • 0 Reply Likes
Photo of PacIOOS Voyager

PacIOOS Voyager

  • 6 Posts
  • 1 Reply Like
Thanks anyways @Red2678: I've seen that post. but it is unrelated because it's about the new iOS7 icon sizes: 76, 120, and 152. My post is about the 72px icon file (pre-iOS7 requirement). While Application Loader gives me WARNING messages about the iOS7 icons missing (76, 120, 152) (even though I've included them in my PhoneGap Build), it only gives me a failure ERROR about the 72px icon (which, again, *should* in theory be in my PhoneGap Build release). And my understanding from other posts is that PhoneGap is working on an iOS7 release soon. But that may have no impact on this 72px icon ERROR.
Photo of Red2678

Red2678

  • 255 Posts
  • 0 Reply Likes
See here:

https://developer.apple.com/library/i...

I do not see a 72px size listed. I know it is in the PGB docs at 72px, but currently PGB does not support IOS 7, so I do not think they have updated the docs.

PS - I used this free PSD layout to make my new icons....

http://appicontemplate.com/ios7
Photo of PacIOOS Voyager

PacIOOS Voyager

  • 6 Posts
  • 1 Reply Like
You are pointing me to iOS 7 documentation. Those are the new sizes (76, 120, and 152), as I've stated above. pre-iOS 7 icon sizes differ (https://developer.apple.com/library/i...), and if you want to support pre-iOS 7 devices you still need to support the old icon sizes (including 72px)... as evident by the fact that I cannot even successfully upload my app to the Apple App Store using Application Loader without it--a bug, apparently, since I've included the 72px icon file, which is why I have submitted this ticket in hopes of help.
Photo of Red2678

Red2678

  • 255 Posts
  • 0 Reply Likes
Gosh, I had not yet gotten to this with 3.0 / IOS 7 (the submission process that is), but I am now getting to experience the same issue....moreover I should have read your post first, albeit a quite lengthy one, before I posted :]

Anyway, thanks for posting! Hope this get addressed soon...
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi PaclOOS,

We had issue on "Application loader" few days ago which resulting from the Mac OS X version error unsupported architecture.
This could not be a general issue, I will gladly investigate this problem as soon as possible  and revert back to you.

Thanks
Hyginus
  
Photo of PacIOOS Voyager

PacIOOS Voyager

  • 6 Posts
  • 1 Reply Like
Thanks for giving this a look, Hyginus. I look forward to your reply.
Photo of Hayley Legg

Hayley Legg

  • 10 Posts
  • 0 Reply Likes
I am also having this same problem, 6 days later.
Photo of Patrick Bense

Patrick Bense

  • 6 Posts
  • 0 Reply Likes
I am still running into this issue with no idea how to get past it.
Photo of Scranton Designs

Scranton Designs

  • 5 Posts
  • 1 Reply Like
I randomly run in to this every time I run builds. I often have to rebuild the iOS app multiple times until it works. I've run in to this for at least the last two months. Yesterday it took me 6 rebuilds to get past the 72px icon missing error.
Photo of Patrick Bense

Patrick Bense

  • 6 Posts
  • 0 Reply Likes
Could you elaborate on "I often have to rebuild the iOS app multiple times until it works"? I am running into this issue currently, and I have it correctly in my config.xml
Photo of Santhosh Kumar

Santhosh Kumar

  • 1 Post
  • 0 Reply Likes
I also have the same issue with the icon 57px and icon 72px, How is this coming, I have given all the pimages and correct path in the config.xml.
Photo of Jonny Roller

Jonny Roller

  • 9 Posts
  • 0 Reply Likes
Getting the same problem here.

If I dig into the IPA file with 7-Zip, all of the icon and splash screen PNG files appear to be truncated. They all start off with the right signature (%PNG) but are smaller in size than the originally included images. And when opened with an image viewer, they are the right dimensions but all black.

I'm also noticing that on subsequent builds, these PNG files are different sizes.

I wouldn't think that the build process would need to do anything to these PNG files (images used in the code itself is unaffected), but maybe something is happening to them during this process?
Photo of Jonny Roller

Jonny Roller

  • 9 Posts
  • 0 Reply Likes
Following rules 1 and 2 from http://community.phonegap.com/nitobi/... solved this issue for me...

1) Remove < icon src="icon.png" / >
2) Define iOS icons before other icons
Photo of vivek.nair746

vivek.nair746

  • 4 Posts
  • 0 Reply Likes
Hello everyone, sorry for being late. The solution to this problem is to use the following code:

<preference name="deployment-target" value="6.1" />


This tricks the PhoneGap build compiler into building the iOS 6.1 icons as well as the 7.0+ icons, which the application loader requires.
Photo of LBB

LBB

  • 3 Posts
  • 0 Reply Likes
this does not work for me.... any more ideas?
Photo of Aidan Connor

Aidan Connor

  • 1 Post
  • 0 Reply Likes
Has anyone got a solution for this issue?

Build Number: 1764884

I have the following error:

1 package(s) were not uploaded because they had problems:
/var/folders/9b/1ws02hb52w725r615t2r8cph0000gn/T/1FFAB561-3555-4110-BC65-E11C3AA2A735/1076322464.itmsp - Error Messages:
ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'icon.png'"
ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."

this is my .xml

Aidan
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Aidan,
in future, don't follow on with two year old posts. Start a new thread.
FWIW: There are looking into this right now. Retry you build in the next hours. If success, respond here. Else, new thread please.
TIA
Jesse
Photo of LBB

LBB

  • 3 Posts
  • 0 Reply Likes
But problem was never solved... I would think it valuable to keep all who are interested involved in subsequent ideas/solutions
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@LLB
the problem was never solved for you because you do not ask for help. You "follow on" expecting people to read your post. In practice, your "follow on" is being ignored.

If you have any unsolved issue, start a thread.
Jesse