iosiphoneios7ios6

Analysing Assets.car file in iOS


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?


Solution

  • 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: