Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 744
Pradeep Mittal Avatar asked Mar 23 '23 06:03

Pradeep Mittal


1 Answers

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.

like image 95
Pradeep Mittal Avatar answered Mar 29 '23 23:03

Pradeep Mittal