In order to add icons to your application you firstly need to create the icon png assets.
These should follow the native iOS naming conventions, eg the two most common iPhone icons are:
IconName with the name you intend to use for your icon).
These assets should be added to your AIR application package and included at the root level.
Info plist Changes
This stage involves extracting the
Info.plist file from your IPA and adding the references to the alternate icons.
Before starting this we suggest you have completed any changes to your application descriptor's InfoAdditions and Entitlements nodes and ensured you have setup all your primary icons.
These settings affect the
Info.plistfile created. If the
Info.plistchanges on subsequent builds you will need to extract the file and modify it again.
Firstly package your application as normal and locate the IPA built. Unzip the IPA (you may need to change the extension to
.zip depending on your process).
Make sure you are using the correct build, debug/production, i.e if you are going to be debugging the IPA make sure you use the IPA produced from a debug process.
Once you have extracted the IPA, locate the
Copy this file to be alongside the
resign script (or to a location you specify in the script).
Open the copied file in a text editor and locate the
CFBundleIcons node. It should resemble the below:
We need to add the
CFBundleAlternateIcons node to this dictionary, replacing the
IconName references below with the name of your alternate icon:
The final section should resemble the below:
Save these changes to the Info.plist file.