require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = 'RNSSHClient' s.version = package['version'] s.summary = package['description'] s.license = package['license'] s.homepage = package['homepage'] s.authors = package['author'] s.source = { :git => 'https://github.com/PopBot/react-native-updated-ssh-sftp-client.git', :tag => s.version } s.source_files = 'ios/**/*.{h,m}' s.requires_arc = true s.platform = :ios, '12.0' s.dependency 'React' s.dependency 'NMSSH' end