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

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Teads SDK iOS Sample App - Check out an open source sample of the Teads iOS SDK implementation
.package(url: "https://github.com/teads/TeadsSDK-iOS.git", from: "v5.0.4")


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 + iOS 15 device

#155 building your application with Xcode 13 and running it on iOS 15 device will crash when running TeadsSDK, we strongly advise to upgrade to 4.8.8 version which fixes this crash

You can still build and publish your app using Xcode 12 with older versions than 4.8.8

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. To integrate TeadsSDK into your Xcode project using SPM, specify package repository url :


Then select latest version available


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate TeadsSDK into your Xcode project using Carthage, specify it in your Cartfile:

github "teads/TeadsSDK-iOS"

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

Mediation Adapters


See changelog here.


Stars: 19
Last commit: 2 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

2 days ago

Generic badge

  • API Breaking changes: TeadsSoundDelegates becomes TeadsPlaybackDelegate introducing 3 new events:
    • didPlay Called when the ad starts or resumes
    • didPause Called when the ad is paused
    • didComplete Called when the ad ended

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