Some useful utilities to help iOS development
find-unused-resource.sh
A small utility which generates a report of unused resources (png, jpg) in the xcode project. Searches all the source folders( .h, .m) and user interface definitions (.xib, .nib). This will generate a list of candidates for cleaning up.
False positives:
- Since project.pbxproj is not scaned, there might be false positives on the splash screens used in the project definition.
- If any resources used runtime in the code like "image_%d", 1 image_1.png is a false positive.
How to use
$>sh ./find-unused-resources.sh path-to-project > report-name
ex: find-unused-resources.sh ~/myproject > unused.html