AppsFlyer iOS SDK

repository·master·Indexed 41 days ago

https://github.com/appsflyersdk/appsflyerframework

The AppsFlyerFramework provides mobile attribution and marketing analytics for iOS. It supports installation via Cocoapods, Swift Package Manager (SPM), and Carthage, offering static, dynamic, and strict (no IDFA collection) library versions.

Tokens
623
Snippets
2
Records
4
Agent score
2%

What's inside AppsFlyer

  1. Install AppsFlyerFramework via Cocoapods

    master

    To install the AppsFlyerLib framework using Cocoapods, add the appropriate version to your Podfile and run pod install or pod update. You must choose the specific binary version required for your project:

    • Statically linked library: Standard version.
    • Dynamically linked library: For dynamic linking requirements.
    • Strict library: For projects that require no IDFA collection.
    # For statically linked library
    pod 'AppsFlyerFramework'
    
    # For dynamically linked library
    pod 'AppsFlyerFramework/Dynamic'
    
    # For Strict (No IDFA colection) library
    pod 'AppsFlyerFramework/Strict'
  2. Install AppsFlyerFramework via Swift Package Manager (SPM)

    master

    To integrate via SPM, follow these steps in Xcode:

    1. Go to File > Swift Packages > Add Package Dependency.
    2. Enter the repository URL corresponding to your required library type.
    3. Select the fetched package and click Next.
    4. Choose the target that should use the dependency and click Integrate Package.

    Important Version Note:

    • For Xcode 15+ (Swift Package Manager versions 6.12.0 and higher), use the specific repository URLs listed below.
    • For versions lower than 6.12.0, use the main repository URL: https://github.com/AppsFlyerSDK/AppsFlyerFramework.
    # 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