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

# Installation

> Add the deepidv iOS SDK with Swift Package Manager, declare camera access, and understand how updates arrive.

## Add the package

The SDK is a Swift package with one product, `DeepIDV`.

> [tab] Xcode
>
> 1. In Xcode, choose **File > Add Package Dependencies…**
> 2. Enter `https://github.com/Deep-Identity-Inc/deepidv-sdk-swift`
> 3. Set **Dependency Rule** to **Up to Next Major Version** from `1.3.0`.
> 4. Add the **DeepIDV** library to your app target.

> [tab] Package.swift
>
> ```swift theme={null}
> dependencies: [
>     .package(url: "https://github.com/Deep-Identity-Inc/deepidv-sdk-swift", from: "1.3.0"),
> ],
> targets: [
>     .target(
>         name: "YourApp",
>         dependencies: [.product(name: "DeepIDV", package: "deepidv-sdk-swift")]
>     ),
> ]
> ```

Then import it where you use it:

```swift theme={null}
import DeepIDV
```

## Declare camera access

The capture screens use the camera, so your app must say why in its `Info.plist`. Without this key, iOS ends the app the first time the camera opens.

```xml theme={null}
<key>NSCameraUsageDescription</key>
<string>Used to scan your ID and take a selfie to verify your identity.</string>
```

The SDK asks for permission the first time a camera screen opens. If the user has turned camera access off, the screen explains it and offers **Open Settings**. Your app also receives `.failure` with kind `.cameraPermissionDenied`.

The SDK doesn't use the microphone or the photo library.

## Privacy manifest

The SDK ships its own `PrivacyInfo.xcprivacy`, which Xcode adds to your app's privacy report. You don't need to copy its entries. See [Privacy](https://docs.deepidv.com/integrate/sdks/ios/privacy.md) for what it declares and the two values you declare yourself if you use them.

## Custom fonts

If you [brand the screens](https://docs.deepidv.com/integrate/sdks/ios/branding.md) with your own font, bundle the font files and list them under `UIAppFonts` in your `Info.plist`. A family iOS can't find falls back to the system font.

## How updates arrive

The SDK follows [semantic versioning](https://semver.org). With **Up to Next Major Version**, your app picks up new minor and patch releases the next time you update packages (**File > Packages > Update to Latest Package Versions**). Read the [changelog](https://docs.deepidv.com/integrate/sdks/ios/reference/changelog.md) before you update: minor releases can change defaults, and each one lists what to check under **Upgrading**.

To stay on one exact version, set the rule to **Exact Version**.

## Next steps

> [card] [Quickstart](https://docs.deepidv.com/integrate/sdks/ios/quickstart.md)
>
> Run your first verification.

> [card] [Proxy mode](https://docs.deepidv.com/integrate/sdks/ios/proxy-mode.md)
>
> Keep your API key off the device.


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