---
title: Step 1. Installing iOS dependencies
description: Explains how to install the PingOne Protect dependencies for the Journey module in your Android, iOS, or JavaScript project.
component: orchsdks
page_id: orchsdks:journey:use-cases/protect/ios/01-dependencies
canonical_url: https://developer.pingidentity.com/orchsdks/journey/use-cases/protect/ios/01-dependencies.html
keywords: ["Journeys", "PingOne Protect", "Dependencies", "Install", "Android", "iOS", "JavaScript"]
section_ids:
  add_dependencies_using_cocoapods: Add dependencies using CocoaPods
  add_dependencies_using_swift_package_manager: Add dependencies using Swift Package Manager
---

# Step 1. Installing iOS dependencies

[icon: circle-check, set=far]PingOne Advanced Identity Cloud [icon: circle-check, set=far]PingAM [icon: apple, set=fab]iOS

To capture contextual data and perform risk evaluations, you must add the PingOne Protect module to your Orchestration SDK project.

You can use CocoaPods or the Swift Package Manager to add the PingOne Protect dependencies to your iOS project.

## 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 'PingJourney'
   pod 'PingProtect' // Add-on for PingOne Protect
   ```

4. Run the following command to install pods:

   ```
   pod install
   ```

## Add dependencies using Swift Package Manager

1. With your project open in **Xcode**, select File > Add Package Dependencies.

2. In the search bar, enter the Orchestration SDK for iOS repository URL: `https://github.com/ForgeRock/ping-ios-sdk`.

3. Select the `ping-ios-sdk` package, and then click Add Package.

4. In the Choose Package Products dialog, ensure that the `PingProtect` library is added to your target project.

5. Click Add Package.

6. In your project, import the libraries:

   ```swift
   // Import the Journeys library
   import PingJourney

   // Import the PingOne Protect library
   import PingProtect
   ```

After installing the module, you can proceed to [Step 2. Integrating PingOne Protect auth journeys in iOS](02-protect-ios-app-journeys.html).
