Copy link to clipboard
Copied
Hi,
I have compiled 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) from the command line using AIR 3.9. Here's the icon section from my app descriptor XML:
<icon>
<image29x29>icons/icon29x29.png</image29x29>
<image48x48>icons/icon48x48.png</image48x48>
<image57x57>icons/icon57x57.png</image57x57>
<image72x72>icons/icon72x72.png</image72x72>
<image114x114>icons/icon114x114.png</image114x114>
<image512x512>icons/icon512x512.png</image512x512>
<image58x58>icons/icon58x58.png</image58x58>
<image144x144>icons/icon144x144.png</image144x144>
<!-- Additional app icons for iOS 7 -->
<image40x40>icons/icon40x40.png</image40x40>
<image76x76>icons/icon76x76.png</image76x76>
<image80x80>icons/icon80x80.png</image80x80>
<image120x120>icons/icon120x120.png</image120x120>
<image152x152>icons/icon152x152.png</image152x152>
</icon>
App(.ipa) is installed and running fine in all the all the devices(Ipad,IPhone).While submiting the same app to Apple-App-Store with app-store provision profile, I got three warnings.Those are as follows:
1) WARNING ITMS-9000: "Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage).
2) WARNING ITMS-9000: "Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '76x76' pixels, in .png format." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage).
3) WARNING ITMS-9000: "Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '152x152' pixels, in .png format." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage).
Can someone help me?
3.9.0.960, which was uploaded recently.
-Pahup
Copy link to clipboard
Copied
Honestly.. Its very easy to compile with the method Colin has provided. I needed to submit yesterday and had my submission packaged with the iOS7 needed icons and submitted within an hour.
Take a look at this thread.
Copy link to clipboard
Copied
Hi Applauze78, Thanks for taking the time to post the link, but I'm on a PC not Mac, so have no idea how to run the command line to include the new ios7 icons for Flash on PC.
I've only ever published via Flash, and included icons natively.
As Colin mentioned above, even he has found Event Viewer confusing.
@ Femi Awosile - Femi, I noticed you offered to create some steps for PC, that would be fantastic if you didn't mind spending the time.
Otherwise, if any PC users have any steps of how to publish using the command line, to include the new ios7 icons on PC, it'd be greatly, and graciously appreciated!!!
This is now holding up the release of our app to the App Store which is frustrating for us.
Copy link to clipboard
Copied
Hank just so you know you can submit the app without the new icons you will get a warning from the application loader software but it will be reviewed and pending no other problems are found it will be published, so don't let the icon hold you up, submit your app now and update later when Adobe adds native support for the icons, that's my plan at least.
Copy link to clipboard
Copied
Hi Hank
Mark is right in that you can still submit your apps without the new icons included. it will remind you to try and include them for next time.
I will also post the steps to take with the command line later today for window user.
sorry for late reply adobe accounts was hacked lately and i was abit worried about our data. Adobe reassured us that all is safe and we were asked to reset password. Hopeful all fine.
Femi
Copy link to clipboard
Copied
Hi Mark and Femi, thanks very much for the replies and information.
Femi that would be fantastic if you did have a chance to go those steps for PC, it would be extremely helpful.
Thanks again
Copy link to clipboard
Copied
OKAY HERE WE GO ![]()
For Ipad and similar iPhone too
Firstly what you need are
(.swf):-
Africa_iPad.swf (.swf)
(.xml) :-
Africa_iPad-app.xml
(.mobileprovision):-
Africa_DragDrop_iPad.mobileprovision
(icons) Need to create these images of course use your own name like image29.png. In my case :-
AfricaIcon29.png AfricaIcon40.png AfricaIcon48.png AfricaIcon50.png AfricaIcon57.png AfricaIcon58.png AfricaIcon72.png AfricaIcon76.png AfricaIcon80.png AfricaIcon100.png AfricaIcon114.png AfricaIcon120.png AfricaIcon128.png AfricaIcon144.png AfricaIcon152.png AfricaIcon512.png AfricaIcon1024.png
iOS launch images icons :-
Default-Landscape.png, Default-LandscapeLeft@2x.png
(.p12) :-
iOS7.p12
(.ipa) Output file binary to be submitted to Apple :-
Africa_iPad.ipa
What to do to get the output file .ipa
1.
File Name :- Africa_iPad.swf
The swf file can be generated by clicking publish in flash
2.
Xml :- Africa_iPad-app.xml
The xml file will also be generated too when you click publish.
3.
Then open the xml with notepad and add the new icons to it in the icon section. So it should look like this then save.
<icon>
<image29x29>AfricaIcon29.png</image29x29>
<image57x57>AfricaIcon57.png</image57x57>
<image114x114>AfricaIcon114.png</image114x114>
<image512x512>AfricaIcon512.png</image512x512>
<image48x48>AfricaIcon48.png</image48x48>
<image72x72>AfricaIcon72.png</image72x72>
<image76x76>AfricaIcon76.png</image76x76>
<image80x80>AfricaIcon80.png</image80x80>
<image40x40>AfricaIcon40.png</image40x40>
<image120x120>AfricaIcon120.png</image120x120>
<image152x152>AfricaIcon152.png</image152x152>
<image50x50>AfricaIcon50.png</image50x50>
<image58x58>AfricaIcon58.png</image58x58>
<image100x100>AfricaIcon100.png</image100x100>
<image144x144>AfricaIcon144.png</image144x144>
<image1024x1024>AfricaIcon1024.png</image1024x1024>
</icon>
4.
Now download adobe air 3.9 or latest on to your desktop from (click on Download AIR 3.9 SDK & Compiler for Windows (ZIP, 204 MB) ) this is for window
http://labs.adobe.com/downloads/air.html
5.
extract or unzip
6
Rename the newly extracted folder with simple word like ADT
Move the folder to your c drive
Double click the extracted file and then double click the bin folder inside the extracted files.
7.
Copy all your file below into the bin directory from the flash folder file.
.swf
.mobileprovision
.xml
.png’s
.p12
In my case
iOS7.p12, Africa_DragDrop_iPad.mobileprovision, Africa_iPad-app.xml, Africa_iPad.swf, AfricaIcon29.png, AfricaIcon40.png, AfricaIcon48.png, AfricaIcon50.png, AfricaIcon57.png, AfricaIcon58.png, AfricaIcon72.png, AfricaIcon76.png, AfricaIcon80.png, AfricaIcon100.png, AfricaIcon114.png, AfricaIcon120.png, AfricaIcon128.png, AfricaIcon144.png, AfricaIcon152.png, AfricaIcon512.png, AfricaIcon1024.png, Default-Landscape.png, Default-LandscapeLeft@2x.png
8.
Open Window PowerShell (start – all programs – Accessories-Window PowerShell) 
Or Command Prompt (start – all programs – Accessories-Command Prompt)
With PowerShell (just like unix on window)
9
Navigate to your c drive
Like cd ../../
Then you get C:\>
10
From here type cd ADT
Then you get C:\ADT>
11
Type cd bin
Then you get C:\ADT\bin>
12.
Now type or paste (With PowerShell)(best to copy from notepad and right click with mouse to paste at the command prompt)
./adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Africa_DragDrop_iPad.mobileprovision Africa_iPad.ipa Africa_iPad-app.xml Africa_iPad.swf AfricaIcon29.png AfricaIcon40.png AfricaIcon48.png AfricaIcon50.png AfricaIcon57.png AfricaIcon58.png AfricaIcon72.png AfricaIcon76.png AfricaIcon80.png AfricaIcon100.png AfricaIcon114.png AfricaIcon120.png AfricaIcon128.png AfricaIcon144.png AfricaIcon152.png AfricaIcon512.png AfricaIcon1024.png Default-Landscape.png Default-LandscapeLeft@2x.png 
or with (command Prompt)) follow 9 - 11 instructions then type or paste (best to copy from notepad and right click with mouse to paste at the command prompt)
adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Africa_DragDrop_iPad.mobileprovision Africa_iPad.ipa Africa_iPad-app.xml Africa_iPad.swf AfricaIcon29.png AfricaIcon40.png AfricaIcon48.png AfricaIcon50.png AfricaIcon57.png AfricaIcon58.png AfricaIcon72.png AfricaIcon76.png AfricaIcon80.png AfricaIcon100.png AfricaIcon114.png AfricaIcon120.png AfricaIcon128.png AfricaIcon144.png AfricaIcon152.png AfricaIcon512.png AfricaIcon1024.png Default-Landscape.png Default-LandscapeLeft@2x.png
13
You will be ask to type your password. Please type your password
14
If all is well your .ipa file generated.![]()
Follow these step and you will be laughing okay. Use your note pad and save it so you dont have to type them every time.
if you still preferred a video I will create one for you. but try this first it should help. Cheers
Copy link to clipboard
Copied
Femi, WOW, that looks great, thanks for taking the time to do all that, and in so much detail!
Will give this a go soon, thanks very much.
Copy link to clipboard
Copied
Its ok Mark have fun and wish you good success cheers. Lets me know how it went
Copy link to clipboard
Copied
Femi, those steps worked a treat, so thanks very much again.
Off topic to the ios7 thread but I notice you also included the icon sizes 512x and 1024x (itunesartwork ones), as did I too, but I've read that they are to be left out for the final App Store build? And added separately during Submission steps to Apple. That right?
Once again, thanks for the steps.
Copy link to clipboard
Copied
Hi Hank
I am glad it worked. I always recommend that you include 512 and 1024 icons because when publishing from flash they are included.
Yes you still have to submit the 1024 icon when you first create the new add app on the apple site.
I do not get complaint or rejection when submitting an app to Apple store so guess it must be ok.
But you could omit them (512 and 1024 icons that is) and see what happens.
Let me know if you don't really need them.
Thank you for that. Cheers
Copy link to clipboard
Copied
Hey Femi, i did everything but i just got this message:
"java" is not recognized as an internal or external command, programm, or (archivo por lotes ejecutable)*.
*Sorry, dunno how to translate that
Can't understand it, i did everything correctly, and of course the word "java" doesnt appear at all in my text. And anyways, in the release notes of air 3.9.0.1030 sdk it says:
Notable bug fixes:
But i cant still select those icon sizes when publishing? is still being any problem?
Copy link to clipboard
Copied
Hi Knoppers
1: Please update your Java because Flash needs java. So click the link below to update.
http://www.java.com/en/download/help/java_update.xml
2: Install the latest AIR 3.9 Beta Installers. Click link below for that.
http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-9_win.exe
3: Use the latest AIR 3.9 SDK & Compiler Beta to publish your swf file.
To download click link below.
http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-9_sdk_win.zip
You need to update your SDK inside flash
Extract or unzip the downloaded file and Rename it AIR3.9 make a copy and rename that ADT.
Move the new AIR3.9 to where your flash directory. Such as, if flash cc is installed then move it to
c:\programs file\adobe\flash cc\
Then in flash
A) Click help
B) manage SDK
C) click + and browse to c:\programs file\adobe\flash cc\AIR3.9
D) select folder AIR3.9 and click ok
Now publish swf by pressing control + enter keys together.
E) copy the swf and XML from flash folder to c:\ADT\bin
4: Use the ADT\bin. publish your .ipa file from the command prompt.
If you follow these instructions It should work. Cheers let me know what happened.
Copy link to clipboard
Copied
Thanks Femi, but still the same "java" problem with both powershell and command prompt. Java is correctly installed, and i've followed all the steps carefully, using the last air sdk beta that is 3.9.0.1050.
When i upload the binary apple says that 76 and 152 "recommended" icons are missing. I'll keep trying, but you know in case i can't get it to work if they will approve my app with those missing icon sizes?
Copy link to clipboard
Copied
Hi again
I take it you are compiling for iPad output file .ipa right?
Copy link to clipboard
Copied
Hi
At what stage did you get the java problem?
Did the problem occurs when you are trying to get the .swf file or .ipa file
You may need to restart your computer and open flash and open your file then control key + return key at the same time to reproduce your swf file.
If not
You may need to uninstall and reinstall your flash.
Then your new installation may link properly with the java on your computer.
The disconnection may happens if your computer crashed when saving flash for any reasons.
As for now you can submit you apps without the new icons but you will get a warning to try and include them for you next submission.
But most likely if you reinstall your flash it may then recognise the java on your computer.
Let me know what happened.
Copy link to clipboard
Copied
I publish correctly from Flash cc even swf or ipa. The problem occurs in the last stage, when i have everything inside the bin folder and try to compile the ipa with command line. Powershell gives me that error. I tryed rebooting and not solved.
Do i have to reinstall the flash player or Flash cc itself?
Copy link to clipboard
Copied
Then the problem is in the last stage.
You need to check your .xml file.
Copy the original produced from publish .swf in flash folder to your bin directory and add the new icons to the icon section.
You do not need to reinstall your flash cc.
Try this and let me know the out come.
Cheers
Copy link to clipboard
Copied
I have done it and still the same. I've also removed the xml file, so flash recreate it from beggining when exporting the swf, taking it again to the bin folder and adding the new icons, the problem persist witht the "java" message. It gives me the same message when trying to compile both with cmd and powershell.
uhmmmm....... im also thinking but cant imagine whats happening......
Copy link to clipboard
Copied
Hi
First of all, thank you Femi for the great guide to publish with AIR in the command promt. Really helped me out!
Knoppers, first I got the exact same error that you got : "java" is not recognized as an internal or external command ... etc" .
But I was able to solve this.
- Frist I updated to the latest Java as Femi suggested.
- After a lot of searcing I found this old post that did the trick:
http://forums.adobe.com/thread/638231
See the link to JAVA from Adobe ("How do I set or change the PATH system variable "); (this link: http://java.com/en/download/help/path.xml)
Follow the guide for your OS (I got win 7) (Add the PATH to Java bin folder in the Environment Variables (example add ";C:\Program Files (x86)\Java\jre7\bin" at the end of the PATH string - do not delete the PATH already there)
- RESTART PC
I've tested it with the development provision and p12 file.
I found out that you change the target to "ipa-test" for testing..... just change the command to "adt -package -target ipa-test ... etc"
Let me know if it worked out for you
Cheers
Rolf
Copy link to clipboard
Copied
Excellent idea well done cheers
Copy link to clipboard
Copied
Solved ![]()
Haven't sent the ipa file to itunes connect yet to check if they accept it, but at least the java problem is solved and the .ipa is created correctly from powershell.
Thanks Rolf and thanks Femi for all your support.
Copy link to clipboard
Copied
Well done for effort cheers
Copy link to clipboard
Copied
Thank you Femi and others for the excellent commentary here. But despite all the info, I am still having trouble creating a .ipa using ADT to include the appropriate ios7 icons. I am using what I believe is the official 'release' of 3.9 (build 3.9.0.1030), and it does say that Notable Fixes include:
Yet I am still getting the following errors when running the command line for all of 76, 120, 152, 40 and 80:
C:\bunch of path stuff here\myApp-app.xml (43): error 103: application.icon.image40x40 is an unexpected element/attribute
I can only guess that I am not using a 'new' enough 3.9 version of ADT but I believe it is the 'release' version that I found here:
http://labs.adobe.com/downloads/air.html
Anyone have any ideas?
Copy link to clipboard
Copied
Hi Jim
The latest version link for window is:
http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-9_sdk_win.zip
And you can tell which one you are using by :
The latest released version at this time is:
http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-9_flashplayer11-9_releasenotes.pdf

so check that.
Cheers Thank you.
Copy link to clipboard
Copied
Although 1050 is the latest beta, the release version 1030 handles image40x40 without any problems.
Can you make sure that in your app descriptor that the image40x40 entry has a matching close tag, and there are no spaces or misspellings in the tag?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now