iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)

Clang: error: Linker Command failed with exit code 1 (use-v to see Invocation) will occur if the project is not built properly due to errors in XCode.

This error is usually caused by referring to duplicate files, but a project refers to so many files, how do you find it?If you click on the error message, XCode will not display the details of the error. Is this a bug in XCode?

To see what caused the error, click error – right – and select Reveal in Log

At this point, I finally saw the reason for the error.

Duplicate symbol XXX, the truth is out, the project refers to two ASIClient, re-modify the project, successfully passed!

Read More: