This repository contains the AppsFlyer integration for the mParticle Apple SDK.
To build the kit and produce both archives from the repo root:
- Install CocoaPods dependencies (generates
mParticle-AppsFlyer.xcworkspace):pod install
- Run the build script:
Output in the repo root:
./script/build_xcframework.sh
mParticle_AppsFlyer.framework.zip— fat (universal) framework (device + simulator)mParticle_AppsFlyer.xcframework.zip— XCFramework (device and simulator slices; preferred for App Store)
Open mParticle-AppsFlyer.xcworkspace (not the .xcodeproj) when building or testing from Xcode.
-
Add the kit dependency to your app's Podfile or Cartfile:
pod 'mParticle-AppsFlyer', '~> 8'OR
github "mparticle-integrations/mparticle-apple-integration-appsflyer" ~> 8.0 -
Follow the mParticle iOS SDK quick-start, then rebuild and launch your app, and verify that you see
"Included kits: { AppsFlyer }"in your Xcode console
(This requires your mParticle log level to be at least Debug)
- Reference mParticle's integration docs below to enable the integration.