I have inserted SDWebImage to the Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'NSData+Base64', '~> 1.0'
pod 'Facebook-iOS-SDK', '~> 3.23'
pod 'CrashlyticsFramework', '~> 2.2'
pod 'AFNetworking', '~> 2.5'
pod 'NewRelicAgent', '~> 4.186'
pod 'GoogleAnalytics-iOS-SDK', '~> 3.10'
pod 'Reachability', '~> 3.2'
pod 'SDWebImage', '~> 3.7'
followed by:
pod install
pod update
It is all succesfuly installed.
But when I open the workspace and try to access the library I get this upon importing #import <SDWebImage/UIImageView+WebCache.h>
TNCViewController.m:12:9: 'SDWebImage/UIImageView+WebCache.h' file not found
Under Pods project I can see Pods/SDWebImage
and I have added manually ImageIO.framework
to Linked Frameworks and Libraries.
What else can I do? Never experienced such problem with a cocoapod library before.
Update I have found the problem !!
If I remove the Target Membership
for the Unit tests, then it compiles !!
This also happened on a fresh project where I copied the files over.
This means the Pod install doesn't install the files for the test target. Any idea what I could do please?