Getting Started with the NextGen SDK for iOS

❗️

Attention:

If you are a publisher that has a custom adapter or intends to have a custom integration, please contact your dedicated Verve Account Manager before you begin.

SDK Version Guidance

Verve recommends using NextGen iOS SDK version 23.1.0 for new integrations.

On this page

Integrating an iOS App

Prerequisites

To integrate the NextGen SDK into your iOS project, you need:

  • Xcode: 15.1 or later
  • Minimum iOS Deployment Target: iOS 12.0
  • Supported Languages: Swift and Objective-C
  • Architectures: arm64, x86_64 (simulator)

Add SDK Dependencies

Choose one of the following integration methods:

Option 1: Swift Package Manager (SPM)

  1. In Xcode, go to File → Add Package Dependencies…
  2. Enter the repository URL:
https://github.com/vervegroup/Smaato-ios-sdk-standalone
  1. Set the version rule to Exact 23.1.0 (or Up to Next Major Version)
  2. Select Products When prompted, select the products you need:
SmaatoSDK — core SDK (required)
SmaatoSDKAdaptersAdMob — AdMob adapter (optional)
SmaatoSDKAdaptersAppLovinWaterfall — AppLovin adapter (optional)

Click Add Package.

  1. Add -ObjC Linker Flag

In your target's Build Settings, find Other Linker Flags and add: -ObjC

Option 2: CocoaPods

Add the CocoaPods source and the Smaato SDK to your Podfile:

source 'https://cdn.cocoapods.org/'

SDK Full Version (includes all ad formats):

target 'YourAppTarget' do
  use_frameworks!
  pod 'smaato-ios-sdk', '23.1.0'
end

Or include only the ad formats you need:

# Banner Ads
pod 'smaato-ios-sdk/Banner', '23.1.0'
# Interstitial Ads
pod 'smaato-ios-sdk/Interstitial', '23.1.0'
# Rewarded Ads
pod 'smaato-ios-sdk/RewardedAds', '23.1.0'
# Native Ads
pod 'smaato-ios-sdk/Native', '23.1.0'
# In-App Bidding (required for bidding partner)
pod 'smaato-ios-sdk/InApp', '23.1.0'

Then run:

pod install

Option 3: Manual Integration (xcframework)

Download the Smaato iOS SDK xcframework from the GitHub releases page:

Choose Ad Formats

The SDK is split into modular frameworks to keep binary size smaller:

  • SmaatoSDKCore.framework
  • SmaatoSDKBanner.framework
  • SmaatoSDKInterstitial.framework
  • SmaatoSDKRewardedAds.framework
  • SmaatoSDKNative.framework
  • SmaatoSDKVideo.framework
  • SmaatoSDKOutstream.framework
  • SmaatoSDKOpenMeasurement.framework
  • SmaatoSDKUnifiedBidding.framework

Framework Requirements by Ad Format

Ad FormatCoreOpenMeasurementBannerRich MediaInterstitialVideoRewarded AdsNativeOutstream
Native
Banner / Image + Rich Media
Interstitial (Display Only)
Interstitial (Video Only)
Interstitial (Display & Video)
Rewarded Video
Outstream Video
📘

Note:

SmaatoSDKCore and SmaatoSDKOpenMeasurement are mandatory in any configuration. SmaatoSDKUnifiedBidding is optional and used for revenue maximization.

Important Note About Fullscreen Adspaces

Currently, only the Interstitial Multi-Ad Format is compatible for Fullscreen Adspaces with Smaato NextGen SDK.
For fullscreen monetization in SPX, select Interstitial (Display & Video) as the ad format. Three creative type options are available:

  • Display Only — Rich Media Ads
  • Video Only — Video Ads
  • Display and Video — either Rich Media or Video Ads