From iOS 11 Apple now requires a new process of adding icons to your application, you can no longer simply package them as you have done with previous versions of iOS and AIR. Instead you need to create an asset catalog (
Assets.car file) and package in the root directory of your application.
Assets.carfile is needed for iOS 11+ when you are using AIR SDK v28+
Additionallyu from iOS 13 Apple now requires a new process of adding launch / splash screens to your application, you can no longer simply package the "default.png" images in your application you have done with previous versions of iOS and AIR.
Note: Apple will soon enforce launch screens with the iOS 13 requirement so this will be a prerequisite for publishing in the AppStore
- Method 1: Command Line
- Method 2: Using Xcode
- Method 3: Online Tool
- Packaging Asset Catalog
- Simple Launch Screen
- Supporting previous versions of iOS
Method 1 Command Line
You will need a macOS machine with Xcode 9+ for this method to generate the
This is the method we prefer as it is simpler to update and create than having to drag files into Xcode. We have a script that downloads the required assets, resizes an icon and launch screen image appropriately and calls the xcode utilities to generate the Assets.car (and launch screen).
The script is available in the AIR-ImageScripts repository
You will need to have installed
imagemagick and the xcode command line utilities (see details in the repository if you need help installing them).
To use it, create an
icon.png file that is a high resolution icon file (we suggest 1024x1024) and a
launch.png launch screen image (we suggest a large 2732x2732 pixel image). Place them in a directory and open a terminal at this location. You can either clone the repository and use the
generate.sh script directly or call it as below:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/distriqt/AIR-ImageScripts/master/generate.sh)"
Once complete this will have generated an
out directory that contains
Assets.caryour asset catalogue
LaunchScreen.storyboardcdirectory is your custom launch screen storyboard
iconsdirectory containing icon images sized for AIR.
Copy these into your application as you require.
You can use the
icons directory in your application descriptor by adding the following:
Method 2 Using Xcode
Note: You will need a macOS machine with Xcode 9+ for this method to generate the
Firstly you will need to open Xcode and create a new application
- Start a new project and select the "Single View App" under the iOS section (or tvOS section if you are creating this file for a tvOS application).
- Fill Product Name, Organization Name and Organization Identifier (no specific names required).
- Save the project
- In the left hand panel select the
- Select the
- Add all the required versions of the AppIcon
- Build the project ( Product -> Build).
- Right-click on your ‘.app’ -> Show in finder.
- Right click on your ‘.app’ -> Show package contents.
- Now copy
Assets.carand package with AIR application.
If you want to include a launch storyboard see here.
Method 3 Online tool
This is the simplest way if you are a Windows developer.
Simply go to the following url:
and upload a 1024x1024 image of your icon. You will get a zip download containing the
Assets.car file and all the icon sizes needed to embed in your iOS application.
Using this method you will not be able to add the LaunchImage so you will have to add a story board manually.
Packaging Asset Catalog
Assets.car file must be placed at the root of your application, this means alongside your
swf and other application content.
You do this by ensuring that it is in the root of your applications source and selected as a single file in your application package.
Simple Launch Screen
To simplify migration to launch storyboards we have created a simple storyboard that pulls an image from your
Assets.car and aspect fills it to the screen. You will add a single image to your
Assets.car alongside your application icons. (If you followed the instructions above this will be the
LaunchImage.png you added.)
Download this zip file and extract the
LaunchScreen.storyboardc. Add it to your application and ensure it is packaged at the root level of your application alongside your
LaunchScreen.storyboardcis a directory but will appear as a "file" (package) on macOS
Add the following to the
InfoAdditions node in your application descriptor:
That is all, you have now implemented a launch storyboard.
Supporting previous versions of iOS
You must also make sure that you include the icons in your application using the icon tags in the application descriptor xml. This ensures that older versions of iOS still have the correct icons packaged and that other platforms still have the appropriate app icons.
Recently Apple changed the supported names of the files for the default / launch images. Make sure you have correctly added the default images according to the Adobe docs: