CocoaPods (Recommended)
Setup Podfile
Add the following to yourPodfile:
Install
Import Modules
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
- Open your project in Xcode
- Navigate to File → Add Package Dependencies…
- Enter the package URL provided by Zixflow
- Select version rule: Up to Next Major from
1.1.3 - Choose the products you need:
DataPipelines(required)MessagingPushAPN(Apple push)MessagingPushFCM(Firebase push)MessagingInApp(in-app messaging)Location(location tracking)
- Click Add Package
Option 2: Package.swift
Add the SDK to yourPackage.swift using the package URL provided by Zixflow: