---
title: Installing and importing the DaVinci module
description: Explains how to install the DaVinci module for iOS into your project using either Swift Package Manager (SPM) or CocoaPods.
component: orchsdks
page_id: orchsdks:davinci:usage/ios/01-installing-the-davinci-module
canonical_url: https://developer.pingidentity.com/orchsdks/davinci/usage/ios/01-installing-the-davinci-module.html
revdate: Fri, 9 Jan 2026 17:23:51 +0000
keywords: ["DaVinci", "iOS", "Install", "SPM", "CocoaPods", "Dependencies"]
section_ids:
  add_dependencies_using_spm_swift_package_manager: Add dependencies using SPM (Swift Package Manager)
  add_dependencies_using_cocoapods: Add dependencies using CocoaPods
---

# Installing and importing the DaVinci module

[icon: circle-check, set=far]PingOne [icon: apple, set=fab]iOS

* **Install**

* [Configure](02-configuring-the-davinci-module.html)

* [Navigate](03-stepping-through-davinci-flows.html)

To use the DaVinci module for iOS, use Swift Package Manager (SPM) or Cocoapods to add the dependencies to your project.

## Add dependencies using SPM (Swift Package Manager)

You can install this by using SPM (Swift Package Manager) on the generated iOS project.

1. In Xcode,in the Project Navigator, right-click your project, and then click Add Package Dependencies…​.

2. In the **Search or Enter Package URL** field, enter the URL of the repo containing the DaVinci module for iOS, `https://github.com/ForgeRock/ping-ios-sdk.git`.

3. In **Add to Project**, select the name of your project, and then click **Add Package**.

   Xcode shows a dialog containing the libraries available in the Orchestration SDK for iOS.

4. Select the `PingDavinci` library, and in the **Add to Target** column select the name of your project.

5. Repeat the previous step for any other Orchestration SDK libraries you want to add to your project.

6. Click **Add Package**.

   Xcode displays the chosen libraries and any prerequisites they might have in the **Package Dependencies** pane of the Project Navigator:

   ![Package dependencies in the Xcode package navigator pane.](../../_images/Xcode-package-dependencies-dv-client.png)Figure 1. Package dependencies in the Xcode package navigator pane.

## Add dependencies using CocoaPods

1. If you do not already have CocoaPods, install the [latest version](https://guides.cocoapods.org/using/getting-started.html).

2. If you do not already have a Podfile, in a terminal window, run the following command to create a new [Podfile](https://guides.cocoapods.org/syntax/podfile.html):

   ```
   pod init
   ```

3. Add the following lines to your Podfile:

   ```
   pod 'PingDavinci'
   ```

4. Run the following command to install pods:

   ```
   pod install
   ```
