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

打包的时候出现错,将bitcode改为NO,可以打包,打包完之后在编译出现clang: error: linker command failed with exit code 1 (use -v to see invocation)这个可恶的错误,找了好久没找到原因,最后将debug模式下的bit code改为yes,release模式下bit code改为NO同时解决了打包和编译运行的错误(备注:运行环境是xcode7.2)

clang: error: linker command failed with exit code 1 (use -v to see invocation)_第1张图片
QQ20161122-0.png

你可能感兴趣的:(clang: error: linker command failed with exit code 1 (use -v to see invocation))