Add SDK

Updated at:

This topic describes how to add the CDP SDK to an iOS project to integrate the CDP feature.

Prerequisites

Your project is now integrated with mPaaS. For more information, see the following:

Add SDK

Choose the method to add the SDK based on how you connected your project.

Use the mPaaS Xcode Extension plugin

Use this method if you connected your project using the mPaaS framework or connected an existing project using the mPaaS plugin.

  1. In Xcode, choose Editor > mPaaS > Edit Project to open the project editor page.

  2. Select Smart Delivery, save your changes, and then click Start Editing to complete the addition.

Use the cocoapods-mPaaS plugin

Use this method if you connected an existing project using CocoaPods.

  1. In your Podfile, add the mPaaS_pod "mPaaS_CDP" dependency for the CDP component.

  2. Run pod install to complete the process.