# Installation

To integrate Stream Chat in your app, you should use [**Swift Package Manager**](#swift-package-manager).

### Swift Package Manager

Open your `.xcodeproj`, select the option "Add Package..." in the File menu, and paste the URL for the library you want to integrate:

- For the LLC (**StreamChat**) use:
  - `https://github.com/getstream/stream-chat-swift`
- For the UIKit components (**StreamChatUI**, which depends on **StreamChat**) use:
  - `https://github.com/getstream/stream-chat-swift`
- For the SwiftUI components (**StreamChatSwiftUI**, which depends on **StreamChat**) use:
  - `https://github.com/getstream/stream-chat-swiftui`

After introducing the desired URL, Xcode will look for the Packages available in the repository and automatically select the latest version tagged. Press next and Xcode will download the dependency.

![Screenshot shows an Xcode screen selecting a dependency version and an Xcode screen downloading that dependency](https://getstream.io/docs-assets/images/1f2cb2444f15.png)

Based on the repository you select you can find 3 different targets: StreamChat, StreamChatUI and StreamChatSwiftUI.

- If you want to use the UIKit components, select **StreamChatUI**.
- If you want to use the SwiftUI components, select **StreamChatSwiftUI**.
- If you don't need any UI components, select **StreamChat**.

![Screenshot shows an Xcode screen with dependency targets to be selected](https://getstream.io/docs-assets/images/7545c65ca395.png)

After you press finish, it's done.

_More information about Swift Package Manager [can be found here](https://www.swift.org/package-manager/)_

## Add Usage Descriptions to Info.plist

Add the [NSPhotoLibraryUsageDescription](https://developer.apple.com/documentation/bundleresources/information_property_list/nsphotolibraryusagedescription) key in your Info.plist with a description of use.
Add the [NSPhotoLibraryAddUsageDescription](https://developer.apple.com/documentation/bundleresources/information_property_list/nsphotolibraryaddusagedescription) key in your Info.plist with a description of use.
Add the [NSCameraUsageDescription](https://developer.apple.com/documentation/bundleresources/information_property_list/nscamerausagedescription) key in your Info.plist with a description of use.


---

This page was last updated at 2026-08-10T16:00:47.906Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/ios/basics/installation/](https://getstream.io/chat/docs/sdk/ios/basics/installation/).