Swiftpack.co - teads/TeadsSDK-iOS as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by teads.
teads/TeadsSDK-iOS v5.0.4
Teads SDK iOS Sample App - Check out an open-source sample of the Teads iOS SDK implementation
⭐️ 22
🕓 1 year ago
.package(url: "https://github.com/teads/TeadsSDK-iOS.git", from: "v5.0.4")

Teads logo

Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server. This sample app includes Teads iOS framework and is showing integration examples.

⚠️ Important ⚠️

Xcode 13

In Xcode 13, Apple introduced an option to override the version number of every plist present inside your app (https://developer.apple.com/forums/thread/690647). Even those from third parties frameworks like TeadsSDK. We used to rely on the plist to retrieve the TeadsSDK version. To prevent this, we changed the way we checked the SDK version since version 5.0.6. So please update your integration to at least version 5.0.6.

📃 Table of Contents

🚀 Integration Documentation

Integration instructions are available on Teads SDK Documentation.

🕊 Migrating from v4 to v5

TeadsSDK v5 introduces some changes regarding v4, see Migration Documentation

🚲 Run the sample app

Clone this repository, open it with Xcode, and run project.

📦 Install the Teads SDK iOS framework

Teads SDK is currently distributed through CocoaPods. It includes everything you need to serve "outstream" video ads.


To install the TeadsSDK just put this on your podfile, if you've never used cocoapods before please check the offical documentation.

pod 'TeadsSDK', '~> 5.0'

On your terminal, go to the directory containing your project's .xcodeproj file and your Podfile and run pod install command. This will install Teads SDK along with our needed dependencies.

pod install --repo-update

Swift Package Manager

SPM is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Installing from Xcode

  1. Add a package by selecting FileAdd Packages… in Xcode’s menu bar.
  2. Search for the Teads iOS SDK using the repo's URL:
  1. Next, set the Dependency Rule to be Up to Next Major Version and keep 5.0.0 < 6.0.0.

Alternatively, add Teads to your Package.swift manifest

  1. Add it to the dependencies of your Package.swift:
dependencies: [
    .package(url: "https://github.com/teads/TeadsSDK-iOS", .upToNextMajor(from: "5.0.0"))

🤝 Mediation Adapters

🎓 Certifications

Teads SDK supports the IAB Open Measurement SDK, also known as OM SDK. The OM SDK brings transparency to the advertising world, giving a way to standardize the viewability and verification measurement for the ads served through mobile apps. Teads is part of the IAB's compliant companies.

iab certification badge

⌚️ Changelog

See changelog here.


Stars: 22
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2 days ago

Generic badge

  • Implement Google Mobile Ads new API v9
  • Update Open Measurement SDK for 2022-2023 certification

Generic badge

  • Remove dispatch main queue on ImageLoader

Generic badge

  • customEventExtra is not available anymore, you can register TeadsAdapterSettings directly calling GADRequest.register(_ )

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics