悪あがきプログラマー

悪あがきを続けていきたい技術と書評なブログです。トレタでiOSエンジニアやってます。

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

objective c - linker command failed with exit code 1 (use -v to see invocation) - Stack Overflow

That can happen if the same .m file is referenced multiple times in your target's "Compile Sources" section in "Build Phases". Remove duplicate entries and you should be fine.

重複してるから消しなさいと。
僕の場合逆で他プロジェクトからコピペしたソースとnibファイルがBuild Phasesに無かった。

.mソースをCompile Sourcesに、nibファイルをCopy Bundle Resourcesに追加したら問題なく動きました。