require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = 'CapacitorBrightcovePlayerCustom' s.version = "6.9.1" s.summary = package['description'] s.license = package['license'] s.homepage = package['repository']['url'] s.author = package['author'] s.source = { :git => "https://github.com/brightcove/brightcove-player-sdk-ios.git", :tag => "v#{s.version}" } s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}' s.ios.deployment_target = '11.0' s.dependency 'Capacitor' s.static_framework = true s.source = { :git => "https://github.com/brightcove/BrightcoveSpecs.git", :tag => "v#{s.version}" } s.dependency 'Brightcove-Player-Core-static' s.swift_version = '5.1' end