4
votes

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.

3
Is that the one and only error? - Andrew
i fixed it somehow but i hav another error in that code now....can u teamview or skype me? - Pradeep Mittal
not me. sorry. could you post the error? - Andrew
i removed the error but now the segments lost the colour they had earlier.....it was working earlier though....and moreover the code is not done my me as i dont hav any knowledge of segments - Pradeep Mittal
The problem was that i didn't set the <UIScrollViewDelegate> in my header file so the scrolls on my app were never displayed.Sorry for asking a noob question. And that linker error got fixed when i copied my header files and implementation files in another new xcode project.I think the problem was that i mistakenly deleted the nib file once and then made another one from "New File" option but that basically arosed those disastrous problems for me. - Pradeep Mittal

3 Answers

6
votes

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.

0
votes

Cleaning 'Other Librarian Flags' of all content works