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)

的排查总结

 

1.相同的类被导入多次。

2.图片等资源丢失/引用出错(包括build phases的引用)。

3.Build Setting -> armv7 armv7s

由于xcode升级成4.5,编译结构有armv7armv7s,删去后者即可。

原文地址:https://www.cnblogs.com/time-is-life/p/7183960.html