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://images2015.cnblogs.com/blog/994786/201610/994786-20161014131243531-1474807215.jpg)