Skip to main content

Swift Package Manager


Installing the Consent Manager SDK using Package Manager

note

The Swift Package Manager installation uses the same repository as the CocoaPods installation.

Package.swift
// swift-tools-version:5.3
import PackageDescription

let package = Package(
name: "YourApp",
dependencies: [
.package(url: "https://github.com/osano/cocoapods-specs.git", from: "3.3.0"),
],
targets: [
// ..
]
)