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.
For native platform developers, we’ve created an iOS Swift SDK 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