Skip to main content
Known Participant
September 2, 2013
Question

Support for new icon sizes in iOS 7

  • September 2, 2013
  • 5 replies
  • 29160 views

Hi there

I just tried to compile my AIR app which includes the new icon sizes required for iOS 7 (76x76, 120x120, 152x152 and the Spotlight search result icons 40x40 and 80x80). Here's the icon section from my app descriptor XML:

<icon>

          <image29x29>assets/icons/icon29.png</image29x29>

          <image50x50>assets/icons/icon50.png</image50x50>

          <image57x57>assets/icons/icon57.png</image57x57>

          <image58x58>assets/icons/icon58.png</image58x58>

          <image72x72>assets/icons/icon72.png</image72x72>

          <image100x100>assets/icons/icon100.png</image100x100>

          <image114x114>assets/icons/icon114.png</image114x114>

          <image144x144>assets/icons/icon144.png</image144x144>

          <image512x512>assets/icons/icon512.png</image512x512>

          <image1024x1024>assets/icons/icon1024.png</image1024x1024>

          <!-- Additional app icons for iOS 7 -->

          <image40x40>assets/icons/icon40.png</image40x40>

          <image76x76>assets/icons/icon76.png</image76x76>

          <image80x80>assets/icons/icon80.png</image80x80>

          <image120x120>assets/icons/icon120.png</image120x120>

          <image152x152>assets/icons/icon152.png</image152x152>

</icon>

Compiling fails with the following error:

Error occurred while packaging the application:

[...]/Test_iOS-app.xml(59): error 103: application.icon.image40x40 is an unexpected element/attribute

[...]/Test_iOS-app.xml(60): error 103: application.icon.image76x76 is an unexpected element/attribute

[...]/Test_iOS-app.xml(61): error 103: application.icon.image80x80 is an unexpected element/attribute

[...]/Test_iOS-app.xml(62): error 103: application.icon.image120x120 is an unexpected element/attribute

[...]/Test_iOS-app.xml(63): error 103: application.icon.image152x152 is an unexpected element/attribute

Looks like support for the new icon sizes is missing. When can we expect support for the new icon sizes? Or am I completely wrong?!

Regards,

René

btw.: I'm using AIR beta (3.8.0.1350) with FB 4.7

This topic has been closed for replies.

5 replies

Participating Frequently
November 8, 2013

Hey.. i've got the solution:

1.)

Add to .xml file this one:

<image120x120>icons/120.png</image120x120>

2.) lock the .xml file, so flash cannot remove this modification

3.) add the icon to the embeed file list

This should work with the .1080 version..

Participant
September 19, 2013

Only 3.9.0.880 is downloadable now?

Where is it downloadable from except 3.9.0.880?

Colin Holgate
Inspiring
September 19, 2013

http://labs.adobe.com/downloads/air.html

September 20, 2013

Hi,

I am running the trial cs6 with air 3.9 on windows but cannot compile to submit to iTunes. If I compile the binary is rejected due to no 120x120 icon. If I add it to the XML file it is over written, if I write protect it I get a publishing error of unable to find icon. Any ideas? Thanks.

Inspiring
September 13, 2013

i have a solution, and i borrowed from the way i had to build a package for OTA Enterprise Distribution about a year ago. a mac is needed, you will need xcode. also note that i used flash CC with beta air 3.9.1.1080.

refer to this site for building your package from xcode: http://fpstudios.com/2011/08/flash-enterprise-builds/

the difference i figured out this morning is that the archive you duplicate is an archive that you used to submit to apple, not just any ol' debug archive (the Info.plist varies between the two archives)

once you have a new "archive" in xcode organizer for your app, go ahead and unpack the ipa flash creates. if you show package contents of the .app inside the Payload folder you will find a Info.plist. use xcode to edit this file and add the new icons to the appropriate array.

now show package contents of the "archive." in the Products > Applications directory, replace the .app with the .app that was inside the flash Payload folder.

now you need to edit the Info.plist from the "archive." make sure the icon array is the same as the array in the Info.plist from your .app

you will also need to change the application path, the bundle id, both bundle versions, the name, and the scheme name

IMPORTANT - i forgot to mention that on the "general" publish setting tab in flash, make sure to include the new icon files.

once you do all this, you can use organizer to submit the app to the apple store and you should see a confirmation message like the one that i received this morning after following the steps from above:

Inspiring
September 21, 2013

apple approved the updates to my app today. i will also confirm that my app does not ask for the user for microphone permission, and it has all the required icons for ios7.

if you have a mac and are familiar with xcode, you can follow the steps from my earlier post in this thread.

September 21, 2013

When packaged it says that the app id is different. Is there a switch/option for setting it? Why can't CS6 just let us use the new icons!

Known Participant
September 11, 2013

Good news: Since AIR 3.9.0.790 the new iOS icon sizes are supported.

Thanks!

September 11, 2013

Apparently, they are supported, i.e. packager 3.9.0.1080 is no longer complaning about unknown icon sizes if one declares them in application.xml, but it doesn't package them in the IPA either (I've just opened it and found no trace of the new iOS 7 icons provided).

Also, I've uploaded an app to Apple today and got an email confirming this:

We have discovered one or more issues with your recent delivery for "------------". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format.

Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format.

Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format.

So, I'm either doing something wrong here or SDK 3.9.0.1080 isn't quite there yet as far as iOS 7 support is concerned

Participating Frequently
September 11, 2013

Can you please unzip your iPA file and see if these icons are present inside Payload/<YOUR_APP_NAME>.app/Icon-XXXX-XX.png

I am sure you would have provided the icons in the application.xml file and are mentioning the same while packaging the application.

Adobe Employee
September 2, 2013

Yes, we are aware of this new icons and currently working on it. I requrest you to open a new bug report on this over at bugbase.adobe.com?  Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?

Regards,

Nimit

Known Participant
September 2, 2013

Thanks, Nimit

Here's the link to the bug report:
https://bugbase.adobe.com/index.cfm?event=bug&id=3624261

As icons are critical for every mobile app: Vote, vote, vote!

Regards,

René

Inspiring
September 6, 2013

Yes, I know.

Took me a while, though there is a thread just about that (should be made more visible, I think).

http://forums.adobe.com/thread/1289547?tstart=0


If you commented out those iOS7 specific icon sizes and rebuild, are you

able to install it on iOS 7? I would assume the icons may look crappy in

the meantime.