Clean up useless pictures in iOS project, you can slim IPA

Source: Internet
Author: User

Engineering in after many people, often appear more garbage, resulting in the packaging of the IPA file is large, sometimes we will clean up the code to the program to thin body, and slimming IPA effect obvious, mainly through the cleanup program of useless pictures.

Recommend an app to clean up pictures https://github.com/tinymind/LSUnusedResources

Open run directly, click Browse. Select the project catalog, then click Search

Search out the search tool think the project is not used in the pictures, of course, those who did not search out is the use of pictures, do not bother

Note: This is what it says no use of the picture is not really useless, because the tool he recognized the way the image is used by imagename:@ "xxx" This method to identify, in order to avoid accidental deletion, this time to copy the name of the image into Xcode search

Search for names based on the circumstances of your usual use of images, According to the custom PNG file search is not added @2x.png to search, JPG files to add. jpg, as long as usual, search to know if there is no use, and then put the useless picture in the tool and click on the Delete. After the deletion, the project will not identify those pictures, in the project to expand the picture file, see the deleted picture into red, then the red warning picture deleted on the finished.

In Xcode search again is to avoid the mistake of the program to delete, a lot of cleaning tools there is a problem of inaccurate search, this tool I think relatively simple and easy to use, introduced the next.

Clean up useless pictures in iOS project, you can slim IPA

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.