Add the SDK Dependencies Manually

To manually add the dependencies for the Mobile App Messaging SDK in your app’s Podfile, complete these steps.

Download these frameworks only from the linked GitHub repositories.

Important

  1. Download these SDKs:

  2. Copy these directories from your downloads folder to your project directory:

    • AppGroupSDK.xcframework
    • InAppMessagingFeatureSDK.xcframework
    • MobileAppMessagingSDK.xcframework
    • PushFeatureSDK.xcframework
    • SFMCSDK.xcframework
  3. Open your application project and select the appropriate target.

    An Xcode project, showing a target selected

  4. Add AppGroupSDK.xcframework, InAppMessagingFeatureSDK.xcframework, MobileAppMessagingSDK.xcframework, PushFeatureSDK.xcframework, and SFMCSDK.xcframework to Frameworks, Libraries, and Embedded Content in your target’s General settings.

    The target’s General settings, showing the frameworks added to the Frameworks, Libraries, and Embedded Content section

  5. Add -ObjC to your target’s Other Linker Flags build settings.

    The Build Settings tab, showing the -ObjC option added to the Other Linker Flags section

After you add the dependencies, configure the SDK.