Add the SDK Dependencies Manually

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

  1. Download the SDKs MarketingCloudSDK and SFMCSDK.

  2. Copy the MarketingCloudSDK.xcframework and SFMCSDK.xcframework directories from your downloads folder to your project directory.

    A file manager, showing the MarketingCloudSDK.xcframework and SFMCSDK.xcframework directories selected

  3. Open your application project and select the appropriate target.

    An Xcode project, showing a target selected

  4. Add MarketingCloudSDK.xcframework and SFMCSDK.xcframework to Frameworks, Libraries, and Embedded Content in your target’s General settings.

    The target’s General settings, showing the MarketingCloudSDK.xcframework and SFMCSDK.xcframework added to the Frameworks, Libraries, and Embedded Content section

  5. Add MarketingCloudSDK.bundle to Copy Bundle Resources in your target’s Build Phases settings.

    The Build Phases settings, showing the MarketingCloudSDK.bundle added to the Copy Bundle Resources section

  6. 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.