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

把Build Settings 里面的 Other Linker Flags里的东西清除

然后运行报错

再次加入,再次运行,成功。

每个人的情况不一样,即使报一样的错,解决方案也不定适合于每个人的每种出错场景。

给遇到同样错误的朋友一种参考吧,注意删前,截个图。

原文地址:https://www.cnblogs.com/songxing10000/p/4288437.html