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