How to find unused images in an Xcode project?

前端 未结 14 1594
旧时难觅i
旧时难觅i 2020-12-07 06:57

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.)

14条回答
  •  离开以前
    2020-12-07 07:49

    I used this framework:-

    http://jeffhodnett.github.io/Unused/

    Works damn well! Only 2 places I saw issues are when image names are from server and when the image asset name is different from the name of the image inside the asset folder...

提交回复
热议问题