Search code examples
iosswiftcocoapodsflurry

What is a correct bridging header for Flurry?


I’m trying to integrate Flurry using CocoaPods in my Swift project. "pod install" downloads Flurry in the project files, but I can’t set a correct path in the bridge-file for FlurrySDK (everything is fine with all other obj-c dependencies).

enter image description here

Where/how can I find a correct import path?


Solution

  • When you are using latest CocoaPod to install external dependencies to Xcode Project, you don't really need the bridging header to expose Objective-C methods to Swift. See below screenshots once to understand it clearly.

    Creating and Installing Pods.

    enter image description here

    Importing Flurry SDK in a Swift class.

    enter image description here

    Hope this helped. Thanks.