iphoneiosuisegmentedcontrolxcode4.6.3

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1


I have some problem with my project. Can someone who's good in xcode help me up with that linker error on skype or teamviewer? I didn't made that code but it was working earlier but now it shows some linker error

Command

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Thanks for any help in advance.


Solution

  • 1 >I was using scrollview delegate methods in my project when i didn't set the UIScrollViewDelegate in my header file.

    2 >The linker error was generated because I deleted the whole .xib file once but when I added a new .xib file and tried to link it that aroused this error.

    To fix this error I had to make a new project and copied all my code in that new project.There may be an easier way to do this but this is what I did to fix it.