Installation
Add the Dixa Messenger SDK to your iOS app.
Requirements
| Requirement | Details |
|---|---|
| iOS | 16 |
| Xcode | 26.2 |
| Swift language mode | Swift 5 or Swift 6 |
| Messenger token | An 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.
Swift Package Manager (recommended)
-
In Xcode, select File > Add Package Dependencies… and enter this URL:
https://github.com/dixahq/ios-messenger -
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
In your Podfile, add:
pod 'DixaMessengerKit', '~> 2.2'Manual
- Download the XCFramework from the releases page and unzip it.
- Place it on the Framework search path of your Xcode project and add it to your app target.
- Set it to Embed & Sign.
Next, configure the SDK.