Installation

LAST EDIT Jul 21 2021

StreamChat Swift SDK supports:

  • iOS 11 and up

  • MacOS 10.15 and up

StreamChat SDK consists of two frameworks: StreamChat and StreamChatUI

  • StreamChat - the low-level library that connects & communicates with StreamChat backend.

  • StreamChatUI — building on top of StreamChat, it's the full SDK library with all UI components. Styling and deep customizations are all supported out of the box.

CocoaPods

Copied!

To integrate StreamChat into your Xcode project using CocoaPods, add this entry in your Podfile:

Then run pod install.

If you want to use only StreamChat, you can add this entry in your Podfile:

In any file you'd like to use Stream Chat in, don't forget to import the necessary library:

Swift Package Manager

Copied!

You can directly add dependency in Xcode 11+ using repo url, or in your Package.swift file, add to dependencies: