我正在使用Alamofire + AlamofireImage开展项目。我刚刚通过CocoaPods安装了AlamofireImage,我收到了这个错误:
类型的价值'请求'没有会员' responseImage'
为该行:
Alamofire.request(.GET, locationURL).responseImage { response in
if let image = response.result.value { // more code
在所有其他项目中都可以正常工作,Podfile安装行也完全一样。
答案 0 :(得分:2)
不确定整个问题是什么,因为我没有必要在其他项目中执行此操作,但导入AlamofireImage可以解决问题。最奇怪的事。