0

在我的项目中,当我尝试添加 sdWebImage 框架时显示 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 但仍然是同样的错误

4

1 回答 1

0

如果您有
#import <SDWebImage-3.3/UIImageView+WebCache.h>
将其更改为
#import <SDWebImage/UIImageView+WebCache.h>

于 2013-10-22T18:33:26.970 回答