| info |
Note
|
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:
- Navigate to File -> Add Package
- 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.
- Click Add Package.
- Now, MoEngage-iOS-SDK package is installed.
| info |
Information CocoaPods 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.