CocoaPods
Installing the Consent Manager SDK using CocoaPods
- Install Cocoapods using Cocoapods - Getting Started.
- In your project's
Podfileadd a source for our Cocoapods specs repo.
source "https://github.com/osano/cocoapods-specs.git"
- Within your
targetadd theOsanoConsentManagerSDKand version as a referenced pod.
pod 'OsanoConsentManagerSDK', '~> 3.6.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.6.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.6.0'
end