AppsFlyerSDK / AppsFlyerFramework

AppsFlyer Apple SDK
https://support.appsflyer.com/hc/en-us/articles/207032066-AppsFlyer-SDK-Integration-iOS
Other
173 stars 92 forks source link
appsflyer appsflyer-apple-sdk ios

AppsFlyerFramework

Version Carthage Compatible SPM Compatible

Table Of Contents

  1. Cocoapods
  2. Swift Package Manager
  3. Carthage
  4. Integration
  5. Support

Cocoapods

In order to install AppsFlyerLib framework via Cocoapods, you should choose the binary version, that you require, add it to your Podfile and run pod install/update:

# For statically linked library
pod 'AppsFlyerFramework'

# For dynamically linked library
pod 'AppsFlyerFramework/Dynamic'

# For Strict (No IDFA colection) library
pod 'AppsFlyerFramework/Strict'

For more reference on using Cocoapods, please click here

Swift Package Manager

  1. Add a Swift Package File

    • In your Xcode project, go to File > Swift Packages > Add Package Dependency.
  2. Enter Package Repository URL

    • In the dialog that appears, enter the URL of the repository that hosts the AppsFlyerFramework package:
      
      # For statically linked library
      https://github.com/AppsFlyerSDK/AppsFlyerFramework-Static

    For dynamically linked library

    https://github.com/AppsFlyerSDK/AppsFlyerFramework-Dynamic

    For Strict (No IDFA colection) library

    https://github.com/AppsFlyerSDK/AppsFlyerFramework-Strict

    
    **Note:** Three separated repositories for SPM support versions `6.12.0` and higher. 
    For versions lower than `6.12.0`, please, use our main `AppsFlyerFramework` repository URL.
  3. Select fetched package

  4. Click on the Next button to proceed and choose the target, which should be using the dependency

  5. Integrate Package

Carthage

In order to fetch AppsFlyerLib artifacts using Carthage, please use binary-only method, described here. All necessary JSON files with links to the binary artifacts are located in Carthage folder in the root of the repository.

Integration

In order to get instruction on how to integrate AppsFlyer iOS SDK please visit the following page - iOS SDK.

Release Notes can be found here.

Support

In order for us to provide optimal support, we would kindly ask you to submit any issues to support@appsflyer.com When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , reproduction steps, logs, code snippets and any additional relevant information.