Orchestration SDKs

Step 1. Installing iOS dependencies

PingOne Advanced Identity Cloud PingAM 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.

  2. If you do not already have a Podfile, in a terminal window, run the following command to create a new Podfile:

    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:

    // 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.