The image resource (PNG) is placed in the Images.xcassets folder for management in iOS development.
After the project is archived is an IPA file, in the IPA file, the contents of the Images.xcassets folder are placed in the Assets.car folder.
As a result, you can restore the resources in the Images.xcassets folder in the project by simply decompressing the Assets.car.
Since the decompression of car is not used for compressed files such as zip or RAR, which is usually visible, an decompression tool is needed.
This decompression tool is available in the source code (OC language) above GitHub, and as a user we only need to do the following:
1, use the command line tool, download the source code (note: The following command line after the "space" + "Download the destination folder path of the file" = Download to the specified folder)
git clone https://Github.com/steventroughtonsmith/cartool
2, after the successful download, run the project, generate the execution file (shown). Then show in finder this execution file.
3. Using command line tools, execute
"Path of this executable file" + "space" + "path of the Asset.car file" + "space" + "The specified folder path after decompression"
After hitting enter, the next step is to extract the success.
Unzip Assets.car get the picture resources in the app