rgamber
rgamber

Reputation: 5849

Flurry.h not found through bridging header when using cocoapods

In my xcode workspace (using cocoapods), I am not able to add Flurry.h in my bridging header. Other headers from other pods like Dropbox, etc are working fine. Only Flurry headers are not being recognized.

I have my podfile as below:

platform :ios, '9.0'
use_frameworks!

pod 'Alamofire', '~> 3.1'
pod 'SwiftyDropbox', '~> 2.0.3'
pod 'Flurry-iOS-SDK/FlurrySDK'
pod 'Flurry-iOS-SDK/FlurryAds'
pod 'Parse'

My Bridging Header is as below (with the problem highlighted!): enter image description here

Here is the Pods project structure:
enter image description here

As you can see above, the SwiftyDropbox.h is imported without issues, but not Flurry.h (or any other header inside the Flurry-iOS-SDK). What am I missing?

Versions used: Using Alamofire (3.1.4) Using Bolts (1.5.1) Using Flurry-iOS-SDK (7.3.0) Using Parse (1.11.0) Using SwiftyDropbox (2.0.3))

Upvotes: 1

Views: 979

Answers (1)

nsinvocation
nsinvocation

Reputation: 7637

Cocoapods 0.36 and later uses the use_frameworks! statement which means that bridging header is not required for importing Objective-C pods in Swift

Upvotes: 6

Related Questions