RTBSDK iOS Integration
Release Notes
  • Start
    • Setup
      • Cocoapods
      • Swift Package Manager
      • Configure RTBSDK
    • Consent
  • Formats
    • Banners
    • Fullscreen (Interstitial)
    • Native Ads
    • Advanced
      • Separate Loading and Rendering of Banner Ads
  • Other
    • AdMob Custom Events
    • AppLovin Custom Adapter
    • Reference
      • Classes
        • RTBSDKManager
        • RTBBannerView
        • RTBBannerAdProvider
        • RTBBannerBid
        • RTBBannerRequestConfiguration
        • RTBBannerSize
        • RTBFullscreenAd
        • RTBFullscreenRequestConfiguration
        • RTBNativeAdLoader
        • RTBNativeAd
        • RTBNativeAdRequestConfiguration
        • RTBUserTargeting
        • RTBBidInfo
      • Protocols
        • RTBBannerViewDelegate
        • RTBBannerAdLoadDelegate
        • RTBBannerAdInteractionDelegate
        • RTBFullscreenDelegate
        • RTBNativeAdLoaderDelegate
        • RTBNativeAdInteractionDelegate
      • Enumerations
        • RTBLogLevel
        • RTBGender
  • Sample App
Powered by GitBook
On this page
  1. Start
  2. Setup

Swift Package Manager

Add RTBSDK to your app using Swift Package Manager

Last updated 1 month ago

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: and selectRTBSDKSPM.

  • Set the dependency rule to "Exact Version" and specify the desired RTBSPM version (refer to the 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.

https://github.com/AddApptr/RTBSPM
release notes