今天想获取APP的资源,但是查看xxx.app文件夹里面,缺少了大部分资源。在文件夹里面发现Assets.car这个文件,发现文件很大有40多M,猜想图片资源会不会被压缩到这里面了,所以就网络上查了下,还真发现了一个工具cartool,这个可以解压Assets.car。

stackoverflow地址:
http://stackoverflow.com/questions/22630418/analysing-assets-car-file-in-ios

cartool github地址:
https://github.com/steventroughtonsmith/cartool

使用:

  1. 下载cartool工程,并且编译生成cartool
转: 解压Assets.car (iOS加密资源)
Paste_Image.png
  1. Finder打开cartool所在目录
  2. 打开终端进入cartool所在目录,执行命令
    ./cartool  /xxx/Assets.car /xxx/outputDirectory
    outputDirectory一定要存在,否则不会成功。

 

附文件:

https://files.cnblogs.com/files/willbin/cartool.zip

相关文章:

  • 2021-12-03
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-01-17
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案