Privy Docs home page
Search...
⌘K
Ask AI
Demo
Support
Dashboard
Dashboard
Search...
Navigation
Welcome
Basics
Authentication
Wallets
Connectors
Policies & controls
User management
Security
Recipes
API reference
Get started
About Privy
Create an account
Choose your platform
Configuring Privy Dashboard
Get started by SDK
React
React native
Swift
Installation
Setup
Quickstart
Advanced
Android
Flutter
Unity
NodeJS
Python
REST API
Changelogs
SDK changelogs
Troubleshooting and tips
React
Using LLMs
On this page
Requirements
SDK 2.0
Installation
Swift
Installation
OpenAI
Open in ChatGPT
OpenAI
Open in ChatGPT
Requirements
iOS 16+
SDK 2.0
All of our documentation reflects the APIs of our 2.Y.Z SDK, which is still in beta. It is highly recommended to integrate 2.Y.Z into your application, as we are close to GA. To find the latest SDK version, see our
Github Releases page
.
Installation
Install the Privy Swift SDK via the Swift Package Manager:
In Xcode, navigate to File > Add Package Dependencies
In the “Search or Enter Package URL” search box enter:
Copy
Ask AI
https://github.com/privy-io/privy-ios
Select the appropriate version and click Add Package
Customizing session persistence
Setup
Assistant
Responses are generated using AI and may contain mistakes.