require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.static_framework = false s.name = 'ContentsquareCapacitorPlugin' s.version = package['version'] s.summary = package['description'] s.license = package['license'] s.homepage = 'https://github.com/ContentSquare/dc_cs-capacitor-plugin.git' s.author = package['author'] s.source = { :git => 'https://github.com/ContentSquare/dc_cs-capacitor-plugin.git', :tag => s.version.to_s } s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}' s.ios.deployment_target = '13.0' s.dependency 'Capacitor' s.swift_version = '5.1' s.dependency 'CS_iOS_SDK', '4.45.4' end