在我的项目中,当我尝试添加sdWebImage Framework时,显示Mac-O链接器错误
错误是
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)
我清理了我的项目 我删除了目标中的所有值 - >构建设置 - >库搜索路径和标题搜索路径 我查看了我的project.pbxproj,但仍然是同样的错误
答案 0 :(得分:0)
如果你有
#import< SDWebImage-3.3 / UIImageView + WebCache.h>
将其更改为
#import< SDWebImage / UIImageView + WebCache.h>