require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = 'CapgoCapacitorUpdater' s.version = package['version'] s.summary = package['description'] s.license = package['license'] s.homepage = package['repository']['url'] s.author = package['author'] s.source = { :git => package['repository']['url'], :tag => s.version.to_s } s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' s.ios.deployment_target = '15.0' s.dependency 'Capacitor' s.dependency 'ZIPFoundation', '~> 0.9' s.dependency 'Alamofire', '5.10.2' s.dependency 'Version', '0.8.0' # We cannot update to latest because it not published anymore in cocoa https://github.com/attaswift/BigInt/issues/94 s.dependency 'BigInt', '5.2.0' s.swift_version = '5.1' end