ChappieSDK product covers authentication, the client, harnesses, streaming, and host tools. ChappieSDKRuntime adds durable thread storage and is entirely optional. ChappieSDKTesting provides seeded auth fixtures for your test targets and should never be linked to an app target. Follow the steps below to add the package to your project.
Add the Package in Xcode
Open the Add Package Dependencies dialog
With your project open in Xcode, go to File → Add Package Dependencies…. The package dependency sheet opens and shows your existing packages.
Enter the repository URL
Paste the Chappie SDK repository URL into the search bar at the top-right corner of the sheet:Xcode resolves the package and shows the available versions.
Set the version requirement
Choose Up to Next Major Version as your dependency rule and set the minimum version to
0.1.0. This lets your project receive patch and minor updates automatically while protecting you from breaking changes.Add ChappieSDK to your app target
In the package product list, select ChappieSDK and add it to your app target. This is the only product you need for auth, messaging, and streaming.
Optionally add ChappieSDKRuntime
If you want transcripts to survive app launches, also select ChappieSDKRuntime and add it to your app target. Skip this product if you only need in-memory conversations.
ChappieSDKRuntime is an optional add-on. Your app compiles and runs without it. Add it only when you need ChappieFileThreadStore for persisted thread storage or normalized runtime turn events.Add the Package via a Package Manifest
If you manage your project through aPackage.swift manifest rather than an Xcode project file, declare the dependency in the dependencies array and then add the product to your target:
dependencies array:
Add
ChappieSDKTesting only to test targets — never to your app target. It provides seeded auth fixtures for unit and UI tests and is not intended for production use.Privacy Manifest
TheChappieSDK package bundles a PrivacyInfo.xcprivacy privacy manifest declaring linked account identifiers and email used for app functionality. No tracking domains are declared. Xcode automatically includes this manifest in your app’s privacy report when you archive for distribution, so you do not need to add any privacy declarations manually for the SDK’s data use.