clayreimann / FlurrySwiftPackage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flurry SDK - Swift Package beta

Table of Contents

Installation

Note: The Flurry Swift Package requires XCode 12 or higher and Swift 5.3 or higher

To add Flurry to your app with Swift Package Manager start in XCode with:

  1. File -> Swift Packages -> Add Package Dependency

OR

  1. On the Build Phases screen -> Choose "Link Binary With Libraries" -> Click "+" -> Choose "Add Other" -> Choose "Add Package Dependency"

  1. Enter the following repo in the url section: https://github.com/flurrydev/FlurrySwiftPackage/

  1. You should see the following:

Choose the version option to get the latest version. 11.1.0 is currently the only version available as a swift package.

  1. Click "Next" and the following page should appear:

  1. Choose the Packages needed for your project.

*Note: Flurry Analytics is required to use FlurryAds, FlurryConfig and FlurryMessaging.

  1. The Flurry Analytics Swift Package requires the System Configuration framework (SystemConfiguration.framework).

a. On the Build Phases page, under "Link Binary With Libraries", click on "+" and add "SystemConfiguration.framework"

Similarly, Flurry Ads requires all of the following frameworks (follow step 6.a above):

  • Ad Support

  • AV Foundation

  • Core Media

  • Core Telephony

  • libz.dylib

  • Safari Services

  • StoreKit

  • WebKit

  1. If you are using Objective C proceed with the integration instructions here:

https://developer.yahoo.com/flurry/docs/integrateflurry/ios/#initialize-flurry

  1. If you are using Swift you will need to add the Flurry header files in a bridging header file. Detailed instructions for this are found here:

https://developer.yahoo.com/flurry/docs/integrateflurry/ios-manual/#swift-sdk-integration

About


Languages

Language:Objective-C 99.4%Language:Swift 0.5%Language:C 0.1%