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

背景:用U盘从另一台电脑考过来后,出现错误

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

出现这种情况很可能是,项目中引入了多个相同的文件。
删除一个就ok!
 
我是这样做的:
build setting > search paths>双击 library search paths>选中AFNetworking,点左下角的减号。
 效果图
 
 
原文地址:https://www.cnblogs.com/DafaRan/p/5960028.html