platform :ios, '17.0'

project 'ExampleApp.xcodeproj'

UJETPodspec = { :podspec => 'https://sdk.ujet.co/ios/UJET.podspec' }

abstract_target 'Base' do
  use_frameworks!

  pod 'JWT', '3.0.0-beta.11', :inhibit_warnings => true

  target 'ObjC-Pods' do
    pod 'UJET', UJETPodspec
    pod 'UJET/Cobrowse', UJETPodspec
  end

  target 'Swift-Pods' do
    pod 'UJET', UJETPodspec
    pod 'UJET/Cobrowse', UJETPodspec
  end

  target 'ObjC-Manual'
  target 'Swift-Manual'

  target 'CobrowseExtension' do 
    pod 'UJET/CobrowseExtension', UJETPodspec
  end
end


post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
      end
    end
  end
end
