cartool Export images from OS X / iOS .car CoreUI archives. Very rough code, probably tons wrong with it, but still useful. https://github.com/steventroughtonsmith/cartool 代码 fork 于此 缺点 只能 dump 出资源文件, 而不是 Assets.xcassets 格式 环境 xcode Version 14.0.1 (14A400) macOS 13.0 步骤 拉本项目 git clone --depth=1 Command+B 编译 Show Build folder in Finder cp ./Products/Debug/cartool destination-you-want 拷贝 cartool 到任何位置你喜欢的如 /usr/local/bin 就可以全局访问了 cartool Payloader/demo.app/Assets.car ./assets 导出 Assets.car 的所有资源到 assets 目录下(记得提前创建 assets 目录哦)