target 'ios_package_test' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  platform :ios, '15.1'

  target 'ios_package_testUITests' do
    inherit! :search_paths
    pod '@C_POD_NAME@', :podspec  => '@C_POD_PODSPEC@'
  end
end

if ENV['SKIP_MACOS_TEST'] != 'true'
  target 'macos_package_test' do
      # Comment the next line if you don't want to use dynamic frameworks
      use_frameworks!

      platform :osx, '14.0'

      target 'macos_package_testUITests' do
        inherit! :search_paths
        pod '@C_POD_NAME@', :podspec  => '@C_POD_PODSPEC@'
      end
  end
end

# This is to prevent the pods to be code signed if enabled
post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
      config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
      config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
  end
end
