Search code examples
iosswiftsdwebimage

SDWebImage Apple Mach-O Linker Warning


Recently I have successfully installed my SDwebImage to my project and it works absolutely fine. But however, there is an issue that annoys me. I tried to reinstall my SDWebImage framework but I still get the same warning. Just to note in have added my framework in Build Phrases and imported SDWebImage to the relevant files.

enter image description here


Solution

  • 1.  Click on your project (targets) 
    2.  Click on Build Settings 
    3.  Use the arrows next to your project name (right above the Basic and All buttons) the change to the Tests target 
    4.  if the warning is ...for option '-F/... thats Framework Search Paths, delete the stuff there
    5.  Clean 
    6.  Build Go for it.