# iOS (/mobile-sdk/ios)

The iOS framework is distributed as a Swift package from the [sparrowdesk-mobile-sdk](https://github.com/SparrowDesk/sparrowdesk-mobile-sdk) repository. Minimum deployment target is **iOS 16.0**.

## Swift Package Manager in Xcode

1. In Xcode, choose **File → Add Package Dependencies…**
2. Enter the repository URL, complete the dependency flow, and add the **SparrowDeskSDK** product to your app target:

   ```
   https://github.com/SparrowDesk/sparrowdesk-mobile-sdk
   ```

Use the [releases page](https://github.com/SparrowDesk/sparrowdesk-mobile-sdk/releases) if you need to pin a specific tag.

## Package.swift

If you use a `Package.swift` manifest:

<MobileSdkIosPackageSwift />

## Verify the import

In any Swift file:

```swift
import SparrowDeskSDK
```

## Next steps

See the **[API reference](/mobile-sdk/api)** for `SparrowDeskConfig`, `SparrowDeskSDK`, `attach`, lifecycle, and the iOS quirk for `onOpen` / `onClose` with Kotlin-exported callback types. The [overview](/mobile-sdk) has a high-level quick start, and the upstream [README](https://github.com/SparrowDesk/sparrowdesk-mobile-sdk/blob/main/README.md) includes a full Swift example.
