require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) repo = 'https://git.crt.fyi/CRT/capacitor-levelplay' Pod::Spec.new do |s| s.name = 'CapacitorLevelplay' s.version = package['version'] s.summary = 'Capacitor plugin for Unity LevelPlay rewarded and interstitial ads.' s.description = package['description'] s.license = package['license'] s.homepage = package['homepage'] s.author = package['author']['name'] s.source = { :git => "#{repo}.git", :tag => "v#{s.version}" } s.source_files = 'ios/Sources/**/*.{swift,h,m}' s.ios.deployment_target = '15.0' s.dependency 'Capacitor' # Unity LevelPlay SDK (ironSource), https://cocoapods.org/pods/IronSourceSDK s.dependency 'IronSourceSDK', '~> 9.6.1' s.frameworks = 'AppTrackingTransparency' s.swift_version = '5.9' s.static_framework = true end