没有这样的模块"SDWebImage" [英] No such module 'SDWebImage'

查看:95
本文介绍了没有这样的模块"SDWebImage"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用CocoaPods安装了SDWebImage.

我的Podfile就是在 https://github.com/rs/SDWebImage 中编写的

My podfile was as it is written in the https://github.com/rs/SDWebImage

platform :ios, '8.0'
use_frameworks!
pod 'SDWebImage', '~>3.7'

当我导入SDWebImage时说

没有这样的模块"SDWebImage"

No such module 'SDWebImage'

我的Xcode版本是:版本7.2.1

推荐答案

使用新的<YourProject>.xcworkspace而不是<YourProject>.xcodeproj.

xcworkspace包含您的projectpod install之后的pods.

这篇关于没有这样的模块"SDWebImage"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆