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

# Swift SDK

> Client-side DFNS SDK for iOS apps written in Swift, with passkey signing, user authentication, login flows, and delegated wallet support.

<Warning>
  **Attention: This project is currently in BETA.**

  This means that while we've worked hard to ensure its functionality, stability, and security, there may still be bugs, performance issues, or unexpected behavior.
</Warning>

For native platform developers, we've created an [iOS Swift SDK](https://github.com/dfns/dfns-sdk-swift) to accelerate the iOS development process.

## Requirements

Minimum device requirements are driven by passkey support:

* **iOS 15.0 or later.** The SDK relies on Apple's passkey APIs (`ASAuthorizationPlatformPublicKeyCredentialProvider`), introduced in iOS 15. On earlier versions, registration and signing fail with a `NotSupported` error. Passkeys are enabled by default from iOS 16, so treat iOS 16 as the practical minimum for production.
* **Device passcode set**, with iCloud Keychain enabled. iOS prompts the user to enable it on first passkey creation.
* **Associated Domains entitlement.** Your app must declare `webcredentials:your-domain.com`, and the relying-party domain must serve a matching `apple-app-site-association` file.
* **Hardware security keys** (such as YubiKey) are supported as an alternative to platform passkeys, also from iOS 15.

## Installation

`File` > `Add Packages Dependencies` > `Search or Enter Package URL` > `https://github.com/dfns/dfns-sdk-swift`
