Copy link to clipboard
Copied
Hello,
I am currently developing an application for android and ios but I can not get the app icon on IOS.
I added all the images in the publication part. I also added the Assets.car folder to the root of the project as well as the XML, though I still have the default icon when I install it.
I am testing on an IPAD AIR and AIR 32 SDK.
Here is the xml:
<application xmlns="http://ns.adobe.com/air/application/32.0">
<id>com.xxxxxx.xxxxxxx</id>
<versionNumber>1.0.0</versionNumber>
<versionLabel/>
<filename>xxxxxxx</filename>
<description/>
<name>xxxxxxx</name>
<copyright/>
<initialWindow>
<content>xxxxxxx.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>landscape</aspectRatio>
<renderMode>gpu</renderMode>
<autoOrients>false</autoOrients></initialWindow>
<icon>
<image29x29>icons/ios/29.png</image29x29>
<image57x57>icons/ios/57.png</image57x57>
<image114x114>icons/ios/114.png</image114x114>
<image72x72>icons/ios/72.png</image72x72>
<image58x58>icons/ios/58.png</image58x58>
<image144x144>icons/ios/144.png</image144x144>
<image1024x1024>icons/ios/1024.png</image1024x1024>
<image40x40>icons/ios/40.png</image40x40>
<image76x76>icons/ios/76.png</image76x76>
<image80x80>icons/ios/80.png</image80x80>
<image120x120>icons/ios/120.png</image120x120>
<image152x152>icons/ios/152.png</image152x152>
<image180x180>icons/ios/180.png</image180x180>
<image60x60>icons/ios/60.png</image60x60>
<image87x87>icons/ios/87.png</image87x87>
<image167x167>icons/ios/167.png</image167x167>
</icon>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<supportedLanguages>en</supportedLanguages>
<iPhone>
<InfoAdditions><![CDATA[
<key>UIApplicationExitsOnSuspend</key>
<true/>
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
<assetsCar>Assets.car</assetsCar>
</iPhone>
<extensions>
<extensionID>com.milkmangames.extensions.GoViral</extensionID>
<extensionID>com.milkmangames.extensions.AdMob</extensionID>
<extensionID>com.milkmangames.extensions.GoogleServices</extensionID>
</extensions>
</application>
Thanks for your help !!
Also, if you are using Animate, you should add the Assets.car file to "Included Files" in "AIR for iOS Settings".
Copy link to clipboard
Copied
Assets.car is needed for making the app icons.
Copy link to clipboard
Copied
Thanks for your answer.
I already added the folder with the same link that you gave me.
And this not work...
Copy link to clipboard
Copied
samuelc38979247 wrote
Thanks for your answer.
I already added the folder with the same link that you gave me.
And this not work...
It shouldn't be a folder, it should be a single file generated by Xcode (or through that online tool) called Assets.car , and this also needs to be added to your list of files that are bundled with your app when it's compiled.
Copy link to clipboard
Copied
For what it's worth, I spent ages trying Xcode to make a good Asset.car file, and failed. The online tool worked right away.
Copy link to clipboard
Copied
Your list of icons looks short, and those ones will be used for older iOS (Assets.car will be used for recent iOS). Here's my list of icon sizes:
<image36x36>icons/36.png</image36x36>
<image48x48>icons/48.png</image48x48>
<image72x72>icons/72.png</image72x72>
<image29x29>icons/29.png</image29x29>
<image57x57>icons/57.png</image57x57>
<image114x114>icons/114.png</image114x114>
<image512x512>icons/512.png</image512x512>
<image50x50>icons/50.png</image50x50>
<image58x58>icons/58.png</image58x58>
<image100x100>icons/100.png</image100x100>
<image144x144>icons/144.png</image144x144>
<image1024x1024>icons/1024.png</image1024x1024>
<image40x40>icons/40.png</image40x40>
<image76x76>icons/76.png</image76x76>
<image80x80>icons/80.png</image80x80>
<image120x120>icons/120.png</image120x120>
<image152x152>icons/152.png</image152x152>
<image180x180>icons/180.png</image180x180>
<image60x60>icons/60.png</image60x60>
<image75x75>icons/75.png</image75x75>
<image87x87>icons/87.png</image87x87>
<image167x167>icons/167.png</image167x167>
I have six more sizes than you do.
Copy link to clipboard
Copied
Also, if you are using Animate, you should add the Assets.car file to "Included Files" in "AIR for iOS Settings".
Copy link to clipboard
Copied
Thank you everyone for your answers !
Lars Laborious answer is the good solution.
I had read on another post that simply put the file Assets.car to the root of the project so I did not add to the included files.
Copy link to clipboard
Copied
That may have been for someone using Flash Builder.