Command /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Project Settings > Under “Targets”, select your project > Build Phases >
open “Compile Sources” and “Copy Bundle Resources”. Check if any files are listed in red color. If so , just delete it. Then clean and run.

Worked for me.

Leave a Comment