No such module 'SDWebImage'

Viewed 9137

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

5 Answers

you can add this to podfile like

platform :ios, '8.0'
# Uncomment the next line when you want all Pods as static framework
# use_modular_headers!
pod 'SDWebImage', :modular_headers => true

or

platform :ios, '8.0'
use_frameworks!
pod 'SDWebImage'

For me worked uncommenting this line in podfile:

#use_frameworks! -> use_frameworks!

Related