Xcode error : Distill failed for unknown reasons

Hello, I have a compilation problem that I can’t solve … when trying to compile the project on xcode 11, I got an error: Xcode error: Distill failed for unknown reasons, I don’t know what to do!

Xcode probably has some build logs somewhere that will help you identify the problem more specifically, but I suspect you have some image in your assets whose actual file type doesn’t match its filename extension.