Unzip Assets.car get the picture resources in the app

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.