SDK Integration

 
  • The current SDK supports iOS10 and above
  • Refer to this Sample Project as a reference for the implementation of any feature of MoEngage iOS SDK.
  • For complete API reference of the SDK, refer to the docs in this link.

Integration through CocoaPods

Cocoapods is a dependency manager for Objective C & Swift projects and makes integration easier.

  1. If you don't have CocoaPods installed, you can do it by executing the following line in your terminal.
    Ruby
    sudo gem install cocoapods
  2. If you don't have a Podfile, then create one by using pod init command. Post this add MoEngage-iOS-SDK pod to your pod file as shown below:
    Ruby
    pod 'MoEngage-iOS-SDK','~>7.0'
  3. Integrate MoEngage iOS SDK by executing the following in the terminal at your project's root directory:
    Ruby
    pod repo update
    pod install
  4. Now, open your project workspace and check if MoEngage SDK is properly added.

Manual Integration

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

Was this article helpful?
0 out of 0 found this helpful