# Uncomment the next line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/Com2uSPlatformCorp/HiveAdKit-iOS.git'

$IOS_DEPLOYMENT_TARGET_VERSION = '13.0'

platform :ios, $IOS_DEPLOYMENT_TARGET_VERSION
use_frameworks!
inhibit_all_warnings!

def adkit_adop
  pod 'HiveAdKit_ADOP', '1.5.4'
end

target 'AdKitTest' do
  adkit_adop
end

# fix for dyld issue in pods when using Project
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $IOS_DEPLOYMENT_TARGET_VERSION
    end
  end
end
