You'll need to give us more detail if you want us to help you diagnose it:
  • OS version
  • Xcode version
  • Output of "clang --version" (without the quotes)
  • The actual error message


You need to search the output for the first place you see a line with "***" in it to find the error that caused the build to fail.