Contents

mparticle-integrations/mparticle-apple-integration-appsflyer-6

This is the AppsFlyer integration for the mParticle Apple SDK, built against the AppsFlyer SDK 6.x.

Installation

Swift Package Manager

Add the AppsFlyer kit package dependency in Xcode or in your Package.swift. Swift Package Manager resolves the mParticle SDK automatically as a transitive dependency, so you do not need a separate .package entry for mparticle-apple-sdk.

let mParticleVersion: Version = "9.0.0"

.package(
    url: "https://github.com/mparticle-integrations/mparticle-apple-integration-appsflyer-6",
    .upToNextMajor(from: mParticleVersion)
),

Then add mParticle-AppsFlyer as a dependency of your target.

CocoaPods

Add the kit dependency to your app's Podfile:

pod 'mParticle-AppsFlyer-6', '~> 9.0'

Prebuilt xcframework

Each release attaches mParticle_AppsFlyer.xcframework.zip. The kit links its dependencies dynamically, so embed all three frameworks in your app target:

| Framework | Source | | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | mParticle_AppsFlyer.xcframework | This repository's releases | | mParticle_Apple_SDK.xcframework | mparticle-apple-sdk releases, matching version | | AppsFlyerLib.xcframework | AppsFlyerLib-Dynamic.xcframework.zip from AppsFlyerFramework releases |

Set all three to Embed & Sign. Use the dynamic AppsFlyerLib-Dynamic.xcframework.zip rather than the static build; the static variant does not provide the dynamic library the kit loads at runtime.

Prefer Swift Package Manager or CocoaPods unless your build requires prebuilt binaries — those integrations resolve these dependencies for you.

Verifying the Integration

After installing, rebuild and launch your app. With the mParticle log level set to Debug or higher, you should see the following in your Xcode console:

Included kits: { AppsFlyer }

Platform Support

| Platform | Minimum Version | | -------- | --------------- | | iOS | 15.0 | | tvOS | 15.0 |

Documentation

Issues

Please report bugs and feature requests to the mparticle-apple-sdk repository. This mirror repository is not actively monitored for issues.

License

Apache License 2.0

Package Metadata

Repository: mparticle-integrations/mparticle-apple-integration-appsflyer-6

Default branch: main

README: README.md