Skip to main content
The Zixflow iOS SDK is available via Swift Package Manager and CocoaPods. You can browse the package here: SPM is the recommended installation method for most projects.

Option 1: Xcode GUI

  1. Open your project in Xcode
  2. Navigate to FileAdd Package Dependencies…
  3. Enter the repository URL:
    https://github.com/zixflow/zixflow-ios.git
    
  4. Select version rule: Up to Next Major from 1.0.0
  5. Choose the modules you need:
    • DataPipelines (required)
    • MessagingPushAPN (for Apple push notifications)
    • MessagingPushFCM (for Firebase push notifications)
    • Location (for location tracking)
  6. Click Add Package

Option 2: Package.swift

Add the SDK to your Package.swift file:
let package = Package(
    name: "YourApp",
    dependencies: [
        .package(
            url: "https://github.com/zixflow/zixflow-ios.git",
            from: "1.0.0"
        )
    ],
    targets: [
        .target(
            name: "YourApp",
            dependencies: [
                .product(name: "DataPipelines", package: "zixflow-ios"),
                .product(name: "MessagingPushAPN", package: "zixflow-ios")
            ]
        )
    ]
)

Import Modules

import ZixflowDataPipelines
import ZixflowMessagingPushAPN
import ZixflowLocation

CocoaPods

Setup Podfile

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

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

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

Install

pod install

Import Modules

import ZixflowDataPipelines
import ZixflowMessagingPushAPN
import ZixflowLocation