Pod::Spec.new do |s|
  s.name             = "segment-appsflyer-ios"
  s.version          = "6.3.2"
  s.summary          = "AppsFlyer Integration for Segment's analytics-ios library."

  s.description      = <<-DESC
                       AppsFlyer is the market leader in mobile advertising attribution & analytics, helping marketers to pinpoint their targeting, optimize their ad spend and boost their ROI.
                       DESC

  s.homepage         = "https://github.com/AppsFlyerSDK/segment-appsflyer-ios"
  s.license          =  { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { "Appsflyer" => "maxim@appsflyer.com" }
  s.source           = { :git => "https://github.com/AppsFlyerSDK/segment-appsflyer-ios.git", :tag => s.version.to_s }
  

  s.ios.deployment_target = '9.0'
  s.tvos.deployment_target = '9.0'
  s.requires_arc = true
  s.static_framework = true

  s.dependency 'Analytics'

  s.default_subspecs = 'Main'
  s.subspec 'Main' do |ss|
    ss.ios.dependency 'AppsFlyerFramework', '~> 6.3.2'
    ss.tvos.dependency 'AppsFlyerFramework', '~> 6.3.2'
    ss.source_files = 'segment-appsflyer-ios/Classes/**/*'
  end
  
  s.subspec 'Strict' do |ss|
    ss.ios.dependency 'AppsFlyerFramework/Strict', '~> 6.3.2'
    ss.tvos.dependency 'AppsFlyerFramework/Strict', '~> 6.3.2'
    ss.source_files = 'segment-appsflyer-ios/Classes/**/*'
    end
end
