0

in my projects when i tried to add the sdWebImage Framework show the Mac-O linker Error

the error is

 directory not found for option '-F/Users/9Atoms/Desktop/Alfred Consumer/October/Alfred-21/Alfred_Waiter/../../../../Documents/FacebookSDK'

 duplicate symbol _OBJC_CLASS_$_SDImageCache in:
/Users/9Atoms/Library/Developer/Xcode/DerivedData/AlfredWaiter-ervnyccnggvruvcubcrgzmkhvymj/Build/Intermediates/AlfredWaiter.build/Debug-iphonesimulator/AlfredWaiter.build/Objects-normal/i386/SDImageCache.o

/Users/9Atoms/Desktop/Alfred Consumer/October/Alfred-21/Alfred_Waiter/SDWebImage.framework/SDWebImage(SDImageCache.o)


linker command failed with exit code 1 (use -v to see invocation)

I cleaned my project I deleted all values in my Target -> Build Settings -> Library Search Paths and Header SearchPaths I looked onto my project.pbxproj but still same error

user2230971
  • 287
  • 1
  • 7
  • 22

1 Answers1

0

if you have
#import <SDWebImage-3.3/UIImageView+WebCache.h>
change it for
#import <SDWebImage/UIImageView+WebCache.h>

Víctor
  • 51
  • 4
  • #import Iam using this only – user2230971 Oct 23 '13 at 06:00
  • do you have a framework called "SDWebImage-3.3.framework"? the import name and the framework name need to have the same name. / ->nameProject ->SDWebImage.framework ->Headers ->UIImageView+WebCache.h inside the class ViewController.m #import try without special characters or download the framework from here: https://github.com/rs/SDWebImage/releases – Víctor Oct 23 '13 at 18:20