I have trying to reduce the overall size of my iOS application which is currently 48MB. When I analyze sub folders, I found Assets.car is taking 41MB. I am not able to open and see which one is taking that much space.
I couldn't find any good documentation regarding Assets.car file. Can someone suggest how to view the contents?
Posted Oct 18, 2018. An Asset Catalog is an important piece of any iOS, tvOS, watchOS and macOS application. It lets you organize and manage the different assets used by an app, such as images, sprites, textures, ARKit resources, colors and data.
This tool can extract a .car archive: https://github.com/steventroughtonsmith/cartool
Steps to extract archive:
Once you've downloaded the zip from github, compile it in Xcode to generate the command line tool. Then expand the Products
group and right click on the cartool
file and locate it in finder. You can then run the tool like so:
cd /path/to/cartool
./cartool /path/to/Assets.car /path/to/outputDirectory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With