No such module 'SDWebImage'

tmac99 picture tmac99 · Mar 9, 2016 · Viewed 8k times · Source

I installed SDWebImage using CocoaPods.

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

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

when I import SDWebImage it says

No such module 'SDWebImage'

my Xcode version is: Version 7.2.1

Answer

Haroldo Gondim picture Haroldo Gondim · Apr 18, 2016

Use the new <YourProject>.xcworkspace instead of <YourProject>.xcodeproj.

The xcworkspace contains your project and your pods after pod install.