Skip to main content
garda86
Participating Frequently
January 5, 2018
Answered

Missing Assets.car file when building with XCode 9

  • January 5, 2018
  • 1 reply
  • 8703 views

Hello,

I followed the procedure in Air 28 Release to create the Assets.car, that must be included in the package.

But after launching the Build in Xcode, the operation is succeed but not Assets.car file is created.

Do you know why? Has someone else experienced this problem?

Thank you in advance,

This topic has been closed for replies.
Correct answer el111

Hi pravishtis,

ok, that's what I did.

But after building the app (the build operation returns successful feedback) I can't find the Assets.car in the mentioned position (and nowhere else in filesystem).

In my app folder there is

- AppDelegate.swift

- assets.xassets (folder)

- Base.lproj

- Info.plist

- ViewController.swift

but the Assets.car is missing

The only difference in my procedure is that my xcode 9 project is not a .app file but a .xcodeproj file (clicking on it there is the option Show Package Content, as you said) Is it ok? There are not .app files inside my project folder.

Thank you for your help..


You need to build the project.

First set device to "Generic iOS Device" from the dropdown (i.e. not your iPhone or the simulator)

Then Build using: Product > Build For > Profiling

This outputs the .app in Build/Products/Release-iphoneos

Follow Adobe's instructions as above then

1 reply

pravishtis
Adobe Employee
Adobe Employee
January 6, 2018

Hi,

Can you please make sure that you're following these steps:

  1. Go to the .app file created in your file system where you created the project — right click on .app file and click on show package contents.
  2. Copy the Assets.car file from the package.

Please refer Adobe AIR * Application icons​ for complete steps.

Thanks,

Pravishti | Adobe AIR Engineering

garda86
garda86Author
Participating Frequently
January 7, 2018

Hello Pravishti ,

that's exactly what I did after building the probject, but the file assets.car is missing.

Should I create with Xcode 9 a "tvOs application" (as mentioned in he link that you have attached) even if I'm building an app for tablet/smartphone?

Thank you

Inspiring
March 21, 2018

Hi,

there is a quite easy way - without using Xcode.

1.) Open this Website:

Generate ios、android app ICON and Assets.car online

2.) Upload your App Icon with a size of 1024x1024 px as .png or .jpg

3.) Generate Icons

4.) Unzip the downloaded file and copy the Assets.car file into your App Project Folder (e.g. next to the .fla, yourappname.xml ...)

5.) Add these Lines into your "yourappname.xml" File:

  <iPhone>

        <assetsCar>Assets.car</assetsCar>

       

        <InfoAdditions><![CDATA[

            <key>CFBundleIconName</key>

            <string>AppIcon</string>

        ]]></InfoAdditions>

    </iPhone>

6.) ... to be on the save side also add the Assets.car to the Publish Settings in Animate CC

7.) Publish your App, Install it on your devices and be happy :-)

Hope this is helpful (and correct) :-)


Hi,

this: https://www.myflashlabs.com/generate-app-icon-assets-car/  works even better than the Online iCon Generator I posted above.

1.) Just follow the instructions on the website (Install ANE Lab -> Icon manager -> save Icons on your desktop)

2.) Copy the Assets.car file into your App Project Folder (e.g. next to the .fla, yourappname.xml ...)

3.) Add these Lines into your "yourappname.xml" File:

  <iPhone>

        <assetsCar>Assets.car</assetsCar>

      

        <InfoAdditions><![CDATA[

            <key>CFBundleIconName</key>

            <string>AppIcon</string>

        ]]></InfoAdditions>

    </iPhone>

4.) ... to be on the save side also add the Assets.car to the Publish Settings in Animate CC

5.) Publish your App ->   :-)