Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


It finds resources that are actually in use #16

kolyuchiy opened this Issue · 5 comments

4 participants


I have the following project structure:

  • Images/
  • Project/*.(m|h|xib)
  • Project.xcodeproj

The folder that I set in Unused is top-level Project folder.

It finds for example album_photo_bg.png which is used.

Project$ grep -R album_photo_bg .
./Project/DVPhotoViewCell.xib:                                          <string key="NSResourceName">album_photo_bg.png</string>
./Project/DVPhotoViewCell.xib:          <string key="album_photo_bg.png">{107, 97}</string>
./Project/DVPhotoViewController.xib:                                            <string key="NSResourceName">album_photo_bg.png</string>
./Project/DVPhotoViewController.xib:            <string key="album_photo_bg.png">{107, 97}</string>
./Project.xcodeproj/project.pbxproj:        DC258482175E37BB0009DF75 /* album_photo_bg.png in Resources */ = {isa = PBXBuildFile; fileRef = DC258480175E37BB0009DF75 /* album_photo_bg.png */; };
./Project.xcodeproj/project.pbxproj:        DC258483175E37BB0009DF75 /* album_photo_bg@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC258481175E37BB0009DF75 /* album_photo_bg@2x.png */; };
./Project.xcodeproj/project.pbxproj:        DC258480175E37BB0009DF75 /* album_photo_bg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = album_photo_bg.png; sourceTree = "<group>"; };
./Project.xcodeproj/project.pbxproj:        DC258481175E37BB0009DF75 /* album_photo_bg@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "album_photo_bg@2x.png"; sourceTree = "<group>"; };
./Project.xcodeproj/project.pbxproj:                DC258480175E37BB0009DF75 /* album_photo_bg.png */,
./Project.xcodeproj/project.pbxproj:                DC258481175E37BB0009DF75 /* album_photo_bg@2x.png */,
./Project.xcodeproj/project.pbxproj:                DC258482175E37BB0009DF75 /* album_photo_bg.png in Resources */,
./Project.xcodeproj/project.pbxproj:                DC258483175E37BB0009DF75 /* album_photo_bg@2x.png in Resources */,

Exactly the same problem... Instead of searching the images that i don't need, it found me all the others.


Can you send a pull request with an example project with this issue please


I uploaded it here:
There are three images: Used, Unused and Unused2.


Any updates on this?

For me the app is simply finding all the images I have in the project...


Thankfully i have just finished a work project, so have some time next week to update a few things on this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.