Integration of WEPersonalization SDK

CocoaPods

WEPersonalization supports Cocoapods

WEPersonalization's CocoaPods distribution requires Xcode 13.3.1 and CocoaPods 1.10.0 or higher.Here's how to install WEPersonalization using CocoaPods:

  1. Create a Podfile if you don't already have one. From the root of your project directory, run the following command:
$ pod init
  1. To your Podfile, add the WEPersonalization pod that you want to use in your app.
pod 'WEPersonalization'
  1. Install the pods, then open your .xcworkspace file to see the project in Xcode:
$ pod install --repo-update
open your-project.xcworkspace

Integrate manually

WebEngage provides a pre-built binary XCFramework distribution for users who want to integrate WEPersonalization without using a dependency manager. To install WEPersonalization:

XCFramework

  • Download the XCFramework SDK zip. This file contains architecture slices for all available target architectures for all WEPersonalization SDKs and thus may take some time to download.
  • Unzip the file, then drag and drop this file in to Project/Workspace settings in General >> Framework , Libraries and Embedded content Section
1207