CocoaPods
Installing the Consent Manager SDK using CocoaPods
- Install Cocoapods using Cocoapods - Getting Started.
- In your project's
Podfile
add a source for our Cocoapods specs repo.
source "https://github.com/osano/cocoapods-specs.git"
- Within your
target
add theOsanoConsentManagerSDK
and version as a referenced pod.
pod 'OsanoConsentManagerSDK', '~> 3.3.0'
By using a ~>
in front of your version number, you can automatically update to the most recently released major version. If you would rather specify your SDK version, omit the ~>
in front of the version number.
pod 'OsanoConsentManagerSDK', '3.3.0'
Your project's Podfile
should look similar to the one below.
platform :ios, '12.1'
source "https://github.com/osano/cocoapods-specs.git"
target 'MyApp' do
use_frameworks!
pod 'OsanoConsentManagerSDK', '3.3.0'
end