Skip to main content
The Zixflow iOS SDK is available via CocoaPods (recommended for most projects) and Swift Package Manager. Minimum platform: iOS 13.0.

Setup Podfile

Add the following to your Podfile:
platform :ios, '13.0'
use_frameworks!

target 'YourApp' do
  # Core module (required)
  pod 'ZixflowDataPipelines', '~> 1.1'

  # Optional modules
  pod 'ZixflowMessagingPushAPN', '~> 1.1'  # Apple Push Notifications
  pod 'ZixflowMessagingPushFCM', '~> 1.1'  # Firebase Cloud Messaging
  pod 'ZixflowMessagingInApp', '~> 1.1'    # In-app messaging
  pod 'ZixflowLocation', '~> 1.1'          # Location tracking
end
Alternative: Umbrella Pod (includes all modules)
pod 'Zixflow', '~> 1.1'

Install

pod install

Import Modules

import ZixflowDataPipelines
import ZixflowMessagingPushAPN   // or ZixflowMessagingPushFCM
import ZixflowMessagingInApp
import ZixflowLocation

Swift Package Manager

If your team uses Swift Package Manager, Zixflow can provide the package source URL for your workspace (the native iOS SDK repository is private and is not linked from these docs).

Option 1: Xcode GUI

  1. Open your project in Xcode
  2. Navigate to FileAdd Package Dependencies…
  3. Enter the package URL provided by Zixflow
  4. Select version rule: Up to Next Major from 1.1.3
  5. Choose the products you need:
    • DataPipelines (required)
    • MessagingPushAPN (Apple push)
    • MessagingPushFCM (Firebase push)
    • MessagingInApp (in-app messaging)
    • Location (location tracking)
  6. Click Add Package

Option 2: Package.swift

Add the SDK to your Package.swift using the package URL provided by Zixflow:
let package = Package(
    name: "YourApp",
    dependencies: [
        .package(
            url: "PACKAGE_URL_FROM_ZIXFLOW",
            from: "1.1.3"
        )
    ],
    targets: [
        .target(
            name: "YourApp",
            dependencies: [
                .product(name: "DataPipelines", package: "zixflow-ios"),
                .product(name: "MessagingPushAPN", package: "zixflow-ios"),
                .product(name: "MessagingInApp", package: "zixflow-ios")
            ]
        )
    ]
)

Import Modules

import ZixflowDataPipelines
import ZixflowMessagingPushAPN
import ZixflowMessagingInApp
import ZixflowLocation