Swift Package Manager (Recommended)
SPM is the recommended installation method for most projects.Option 1: Xcode GUI
- Open your project in Xcode
- Navigate to File → Add Package Dependencies…
- Enter the repository URL:
- Select version rule: Up to Next Major from
1.0.0 - Choose the modules you need:
DataPipelines(required)MessagingPushAPN(for Apple push notifications)MessagingPushFCM(for Firebase push notifications)Location(for location tracking)
- Click Add Package
Option 2: Package.swift
Add the SDK to yourPackage.swift file:
Import Modules
CocoaPods
Setup Podfile
Add the following to yourPodfile: