Skip to main content
Note
  • The current SDK supports iOS11 and above.
  • For complete API reference of the SDK, refer to the docs in this link.

Integration through Swift Package Manager

Swift Package Manager (SPM) is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies. To install the MoEngage-iOS-SDK through SPM, follow the below steps:
  1. Navigate to File -> Add Package
  2. Enter the URL https://github.com/moengage/apple-sdk.git for SDK versions equal and above 9.23.0, or https://github.com/moengage/MoEngage-iOS-SDK.git for other SDK versions and select the branch as master or required version to install the package.
  3. Click Add Package.
  4. Now, MoEngage-iOS-SDK package is installed.
InformationCocoaPods is being deprecated. MoEngage recommends using Swift Package Manager for all new integrations. If your project requires CocoaPods, see the CocoaPods Integration Guide.

Manual Integration

For more information about how to integrate the SDK manually into your project, refer to Manual Integration.