Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Add AdPlayer SDK to your project

Add AdPlayerSDK pod to your Podfile

pod 'AdPlayerSDK', '~> 1.11.0'

In the folder that contains your project run

$ pod install --repo-update


Also,
only if your APP supports iOS 12 update the Podfile:
1. Add RxSwift dependency
pod 'RxSwift'

2. Add the following post_install step

# this is required because `AdPlayerSDK` XCframework has transitive dependencies
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if target.name == 'RxSwift'
           config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
      end
    end
  end
end

  • No labels