Has anyone a one-line to find unused images in an Xcode project? (Assuming all the files are referenced by name in code or the project files - no code generated file names.)
You can make a shell script that grep your source code and compare the founded images with your project folder.
Here the man(s) for GREP and LS
Easily you can loop all of your source file, save images in array or something equals and use
cat file.m | grep [-V] myImage.png
With this trick, you can search all images in your project source code!!
hope this helps!