hamzah hamzah - 1 month ago 5
iOS Question

linker command failed with exit code 1 (use -v to see invocation) after changing product name in xcode

I was working on my application and i started out with a really bad name. So i decided to change it. I did that like this.

enter image description here

At the top right corner i simply changed the name to what i want. and then i started getting the error as you can see there. Here are some more specific details.

enter image description here

Answer

Go to edit scheme as shown below. enter image description here

then uncheck all other targets except your main target under build tab. enter image description here

Comments