Mintegral iOS SDK for Swift Package Manager.
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 Mintegral iOS SDK into your Xcode project using Swift Package Manager:
- Add it to the
dependencies
of yourPackage.swift
:
dependencies: [
.package(url: "https://github.com/Mintegral-official/MintegralAdSDK-Swift-Package.git", .exact("7.7.8"))
]
- Enable the
-ObjC
flag in Xcode: click on your project settings, go to Build Settings, search for Other Linker Flags and add-ObjC
.