> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloneable.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate the Cloneable SDK

> Add the Cloneable SDK to your existing app

## Supported package managers

The Cloneable SDK supports Swift Package Manager (SPM).

## Add the Cloneable SDK as a dependency

Add the SDK to your Xcode app:

### Open package dependencies

In Xcode, open your project and select the **Package Dependencies** tab. Click **+**:

<Frame>
  <img src="https://3816131924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SuYrwusqikNVYCnh3Rw%2Fuploads%2F6UEN0l6TgGGMZizBeHDR%2FScreenshot%202023-11-27%20at%209.49.34%E2%80%AFPM.png?alt=media&token=c749357f-f466-4c4d-b080-a6146986061a" alt="Xcode Package Dependencies tab and Add Package button" />
</Frame>

### Add the SDK repository URL

**URL:** `https://github.com/Cloneable-Inc/Cloneable-iOS-SDK/`

Select `Up to Next Major Version`:

<Frame>
  <img src="https://3816131924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SuYrwusqikNVYCnh3Rw%2Fuploads%2FhyP0eMWPy9hvUPLHxO7e%2FScreenshot%202023-11-27%20at%209.49.25%E2%80%AFPM.png?alt=media&token=5b480fd1-90bd-42f2-8e87-e527cb2a1f62" alt="Xcode package dependency version rule set to Up to Next Major Version" />
</Frame>

### Add Package

Wait for the approximately 1 GB package to resolve. Then click **Add Package**:

<Frame>
  <img src="https://3816131924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SuYrwusqikNVYCnh3Rw%2Fuploads%2FUDsR9TFvse5efcunwmVg%2FScreenshot%202023-11-27%20at%209.50.06%E2%80%AFPM.png?alt=media&token=ba534651-dbde-45a1-af12-e124269f0b2a" alt="Xcode Add Package button for the Cloneable SDK" />
</Frame>

### Verify the package dependency

Verify that the SDK appears in **Package Dependencies**. You can import `CloneablePlatform` and build the project:

<Frame>
  <img src="https://3816131924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SuYrwusqikNVYCnh3Rw%2Fuploads%2FJTTbhgapomz1d5dWRvAF%2FScreenshot%202023-11-27%20at%209.50.15%E2%80%AFPM.png?alt=media&token=2ac57a14-7544-4af6-8a9b-15dabe1f9788" alt="Cloneable iOS SDK listed in Xcode Package Dependencies" width="272" />
</Frame>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.