Manual Integration

To install the frameworks manually, follow the steps below:

Download the latest SDKs from our GitHub repository. You can find the download URLs for each SDK in package.json.

Copy Framework files into your project

Add the XCFramework file of the module you want to integrate into your project. Also, make sure that MoEngageSecurity.xcframework,MoEngageSDK.xcframework,MoEngageCore.xcframework,MoEngageAnalytics.xcframework ,MoEngageObjcUtils.xcframework and MoEngageMessaging.xcframework are added [to App target]. This is because all the other modules have a dependency on these frameworks.

Embedded Frameworks in App Target

Make sure to embed the required frameworks to App Target as described in the following image, set the Embed option to Embed & Sign for MoEngage framework files: Screenshot_2022-03-16_at_2.51.39_PM.png

Link MoEngageRichNotification framework in App Extensions

This is only required if you are using the MoEnagageRichNotification framework in the project. Make sure to link the framework in the Extension targets as shown below and set Embed option to Do Not Embed in this case as it is already embedded in your App Target:

Screenshot_2022-03-16_at_2.56.37_PM.png

In extension target build settings, add @executable_path/../../Frameworks as additional LD_RUNPATH_SEARCH_PATHS.

Previous

Next

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

How can we improve this article?