Swift Package Manager

Add RTBSDK to your app using Swift Package Manager

A swift package that wraps RTBSDK.

Integration Steps

  • Open your Xcode project, navigate the File tab within the macOS bar, and click on “Add Packages”.

  • In the URL field, enter: https://github.com/AddApptr/RTBSPM and selectRTBSDKSPM.

  • Set the dependency rule to "Exact Version" and specify the desired RTBSPM version (refer to the release notes for the latest stable version).

  • Click Next and wait for the package to finish fetching.

  • When prompted to choose a target, leave it unselected and click "Add Package".

  • Add RTBSPM dependency under "Frameworks, Libraries, and Embedded Content".

You have to add -ObjC to your build settings (Other Linker Flags) by following these steps:

  • Click on the project navigator.

  • Click on your target and build settings.

  • Search for "other linker flags".

  • Add -ObjC.

Last updated