UnityAds iOS SDK for Swift Package Manager.
- iOS 13.0+
- Swift 5.0+
- Xcode 15.0+
The Swift Package Manager 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 the UnityAds SDK into your Xcode project using Swift Package Manager:
- File > Add Package Dependencies
- Enter the repository URL:
https://github.com/Unity-Technologies/Unity-Ads-Swift-Package - Select the version you want to use
Add it to the dependencies of your Package.swift:
dependencies: [
.package(url: "https://github.com/Unity-Technologies/Unity-Ads-Swift-Package", from: "4.16.5")
]