Linker command failed with exit code 1….

      No Comments on Linker command failed with exit code 1….
Hi
I faced this problem and want to share it with u so that it can save your time…..

when i updated my XCode project from svn its build failed due to this error…

Undefined symbols for architecture i386:
  “_OBJC_CLASS_$_Help”, referenced from:
      objc-class-ref in Home.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

……you can deal with this type of error in following steps
    1. Select executable icon (the blue color icon ) on the left side on above all your .m and .h project file
  1. Click on the application icon and select build phases…….

as you can see in the image there will be all .m files but one or more the one missing ….so the error

3.Click + symbol and a finder will open  if you see any .m file in it select it and when all .m files are selected click on add button…

build project it will succed.

similarly you can also add your missing XIB files by going to copy bundle resourses and add missing Xibs  …..Happy coding 🙂

A pat on the back !!

Leave a Reply

Your email address will not be published. Required fields are marked *