Chapter . Publish to iOS Installer

Now that you have created your new application, it is time to publish it to an Apple iOS installer file, which is an archive file with the extension of .ipa. Flash Builder provides all of the tools to accomplish this task.

To demonstrate how to compile an application to an Apple iOS installer, let’s walk through this process by following the following steps.

To add a custom icon for your application, you will need to add some image definitions to the icon block of the application descriptor XML file. The image sizes specific to iOS in the sample below are: 29×29, 57×57, 72×72, and 114×114. 57×57 and 114×114 are required for iPhone/iPod, 72×72 is required for iPad and it is also recommended to include a 29×29 version as well. The sample below shows these sizes, as well as some others that are required if you plan to compile to Android or BlackBerry:

Note

You will also need a 512×512 version of your application icon for the App Store.

<!-- The icon the system uses for the application.
    For at least one resolution,
    specify the path to a PNG file included
    in the AIR package. Optional. -->
    <icon>
          <image16x16>icons/logo16.png</image16x16>
          <image29x29>icons/logo29.png</image29x29>
          <image32x32>icons/logo32.png</image32x32>
          <image36x36>icons/logo36.png</image36x36>
          <image48x48>icons/logo48.png</image48x48>
          <image57x57>icons/logo57.png</image57x57>
          <image72x72>icons/logo72.png</image72x72>
          <image114x114>icons/logo114.png</image114x114> <image128x128>icons/logo128. ...

Get Developing iOS Applications with Flex 4.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.