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

25,940

Solution 1

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.

Solution 2

Ref Bridging-header.h causes Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1enter image description here

Share:
25,940
Pradeep Mittal
Author by

Pradeep Mittal

I am working as an IOS developer in WeMited Innovations Pvt. Ltd.

Updated on July 09, 2022

Comments

  • Pradeep Mittal
    Pradeep Mittal almost 2 years

    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.