Skip to main content

CocoaPods


Installing the Consent Manager SDK using CocoaPods

  1. Install Cocoapods using Cocoapods - Getting Started.

  2. In your project's Podfile add a source for our Cocoapods specs repo.

    source "https://github.com/osano/cocoapods-specs.git"
  3. Within your target add the OsanoConsentManagerSDK 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