2

In our iPhone project, it tends to add up a pile of unused image files. I would like to find a neat way to delete theese files from my xcode project. Referances to the images is found in both source and nib-files Do anyone have a solution for that?

Andreas Aarsland
  • 945
  • 2
  • 11
  • 27

2 Answers2

1

Command-shift-f will show a search by project. With this panel you can find all references to the image in the project. Once you delete these references Interface Builder will highlight the broken references for you so you can easily delete those.

Hua-Ying
  • 3,166
  • 4
  • 23
  • 25
1
  1. Use http://jeffhodnett.github.io/Unused/ to find the unused images.
  2. Delete the unused images
  3. Delete the references from the implementation files (.m) using project search.
  4. Remove the broken references from the xib
Praveen Matanam
  • 2,773
  • 1
  • 20
  • 24