/
Install with Cocoa Pods

Install with Cocoa Pods

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

 

Related content

[Older versions < 1.7.0] Getting Started - iOS
[Older versions < 1.7.0] Getting Started - iOS
More like this
Getting Started - iOS
Getting Started - iOS
More like this
Getting Started - Android
Getting Started - Android
More like this
[Older versions < 1.11.0] Displaying a Player
[Older versions < 1.11.0] Displaying a Player
More like this
Swift UI
Swift UI
More like this
Configuration
Configuration
More like this