Skip to Content

Installation

Add the Dixa Messenger SDK to your iOS app.

Requirements

RequirementDetails
iOS15
Xcode26.2
Swift language modeSwift 5 or Swift 6
Messenger tokenAn admin can find it in the Dixa Dashboard under Settings > Messenger > (your messenger) > Setup

Installation

Install the SDK with Swift Package Manager (recommended), CocoaPods, or by adding the XCFramework by hand.

  1. In Xcode, select File > Add Package Dependencies… and enter this URL:

    https://github.com/dixahq/ios-messenger
  2. Keep the dependency rule Up to Next Major Version, so you get every fix in the current major version.

In a Package.swift manifest, replace <VERSION> with the latest version from the releases page:

.package(url: "https://github.com/dixahq/ios-messenger", from: "<VERSION>")

CocoaPods

From 2 December 2026, CocoaPods' central catalogue (trunk) no longer takes new versions, so new versions of the SDK are published in our own catalogue. Add both sources at the top of your Podfile, ours first:

source 'https://github.com/dixahq/cocoapods-specs.git'
source 'https://cdn.cocoapods.org/'

pod 'DixaMessengerKit', '~> 2.3'

Then run pod install. Without our source, CocoaPods keeps installing the last version on trunk and doesn't show newer ones.

  • Versions up to 2.3.1 keep installing from trunk.
  • If CocoaPods doesn't find a new version, run pod repo update, then pod install.
  • If your app already uses the SDK, pod install keeps the version in your Podfile.lock. Run pod update DixaMessengerKit to move to the newest version your Podfile allows.

Manual

  1. Download the XCFramework from the releases page and unzip it.
  2. Place it on the Framework search path of your Xcode project and add it to your app target.
  3. Set it to Embed & Sign.

Next, configure the SDK.

On this page