Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)

出现以上错误,现总结如下解决方法: 

1、检查引用文件是否出错,把 

xxx.h文件弄成了xxx.m文件,检查一下你的所有引用;

2、在工作左边导航栏Target–>Build Phases–>compile Sources中,第三库库的所有.m文件时候重复添加。


3、设置 Project -> Pods 下所有第三方库的 Build Active Architecture Only 为 NO 


你可能感兴趣的:(Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation))