iphone - A way to find orphaned images in a big Xcode project -
i have big project has grown on years , have clean images, no longer used.
if delete image xcode image might still referenced in nib file, makes tracking down resources, no longer needed quite hard.
i open whole project folder in textmate project can search throughout files. need search file after file.
is there more efficient way tackle this?
edit:
i discovered slender on mac app store: link
that looks right tool job.
old answer:
you use tool opensnoop or dtrace (which opensnoop uses under hood) track ios simulator's file access.
make sure access areas of application such tool running full coverage , have list of files still in use.
you need command line fu massage output list can compare list of images in project.
depending on size of project might overkill, since project has evolved on several years might less error-prone, , more fun manual searching.
Comments
Post a Comment