[go: up one dir, main page]

Skip to content

Some useful utilities to help iOS development

Notifications You must be signed in to change notification settings

huuang/xcodeutils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

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

About

Some useful utilities to help iOS development

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%