• Stars
    star
    180
  • Rank 213,097 (Top 5 %)
  • Language
    Shell
  • Created about 12 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Some useful utilities to help iOS development

xcodeutils

Some useful utilities to help iOS development

find-unused-resource.sh

A small utility which generates a report of unused resources ( .gif, .jpg, .png, .jpeg) in the xcode project. Searches all the source folders( .h, .m) and user interface definitions (.xib, .nib ، .storyboard). This will generate a list of candidates for cleaning up.

We now support gif,jpg,png,jpeg image File. We now support .storyboard file

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