tinymind/LSUnusedResources

it can't find image in .bundle file

maiqili opened this issue · 4 comments

it can't find image in .bundle file

Generally, images in .bundle file will be used in .a library, which means, LSUnusedResources can't determine whether it is used, because I can't inject and scan .a file.

@tinymind
I have a question in ResourceFileInfo.m, line 127
if (![fileType isEqualTo:kSuffixPng]) {
why using "!" here? If remove !, I will get a correct result in .bundle file.

Yes, I can find resource in .bundle file, but have no idea if it is used in somewhere. So I will ignore .bundle file.

@tinymind Thank you for reply. I can make it to satisfy my requirements. And thank you very much.