Analysing Assets.car file in iOS

后端 未结 6 443
青春惊慌失措
青春惊慌失措 2020-11-30 18:30

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

6条回答
  •  星月不相逢
    2020-11-30 19:07

    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:

    • open terminal
    • cd /path/to/cartool
    • ./cartool /path/to/Assets.car /path/to/outputDirectory

提交回复
热议问题