Installation
CocoaPods
Using CocoaPods
- Add pod 'TeadsSDK', '~> 6.0'into your Podfile.
- Run pod install.
- Open workspace file and run the project.
platform :ios, '14.0'
use_frameworks!
target 'YourApp' do
  pod 'TeadsSDK', '~> 6.0'
end
Swift Package Manager
Using Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. You can add the TeadsSDK SPM dependency by using the following URL:
https://github.com/teads/TeadsSDK-iOS.git
We recommend setting the dependency version constraint to .upToNextMajor(from: "6.0.0").
Adding via Xcode
- In Xcode, select File > Add Package Dependencies
- Enter the repository URL: https://github.com/teads/TeadsSDK-iOS.git
- Select version rule: Up to Next Major Version with 6.0.0
Adding via Package.swift
Adding TeadsSDK as a SPM package dependency is as easy as adding it to the dependencies value of your Package.swift:
dependencies: [
    .package(url: "https://github.com/teads/TeadsSDK-iOS.git", .upToNextMajor(from: "6.0.0"))
]
Manual Installation
Download XCFramework
For manual installation, you can download the latest TeadsSDK.xcframework:
- Download the latest TeadsSDK.xcframework from the GitHub releases
- Drag and drop it into your Xcode project
- Ensure "Copy items if needed" is checked
- Add to your target's Frameworks, Libraries, and Embedded Content
Sample Application
The official Teads SDK sample application demonstrates best practices and integration examples.
GitHub Repository: TeadsSDK-iOS
Next Steps
- Integration Guide - Complete integration instructions
- Getting Started - Quick start guide
info
Important: Be up to date with our latest releases: GitHub releases