Install Sendbird UIKit for iOS
You can start building a messaging experience in your app by installing Sendbird UIKit. This developer kit is an add-on feature to Sendbird Chat SDK so installing it will also install the core Chat SDK. The minimum requirement of Chat SDK for iOS is 4.0.13 or later. We recommend using Swift Package Manager for new projects.
Note: Currently, Sendbird UIKit for iOS supports iPhone OSs only, not iPad OSs.
Swift Packages
-
In Xcode, select File > Add Packages.
-
Add
SendbirdUIKitinto yourPackage Repositoryas below:
- Swift Package Manager automatically sets the dependency rule to "Up To Next Major" and installs the latest version. Adjust the dependency rule and version according to your needs. You can check out the latest UIKit version on UIKit releases.
Note: A build error may occur while using Swift packages with Xcode due to issues with caching. To resolve this error, try resetting the Xcode package caches. Open the
Filemenu, go toPackages, and selectReset Package Caches. This deletes all local package data and redownloads each package from its online source.
CocoaPods
On December 2, 2026, the public CocoaPods trunk will become read-only and will no longer accept new pod versions. We recommend migrating to Swift Package Manager for dependency management. To continue using CocoaPods, add the Sendbird spec source to the top of your Podfile as shown in step 1 below.
- Add the Sendbird spec source and
SendBirdUIKitinto yourPodfilein Xcode as below:
- Install the
SendBirdUIKitframework throughCocoaPods.
- Update the
SendBirdUIKitframework throughCocoaPods.