require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| s.name = "React Apple Healthkit" s.version = package["version"] s.summary = package["description"] s.description = <<-DESC A React Native package for interacting with Apple HealthKit DESC s.homepage = "https://github.com/github_account/react-native-healthkit" s.license = "MIT" s.author = { "Terrillo Walls" => "terrillo@terrillo.com" } s.platforms = { :ios => "9.0" } s.source = { :git => "https://github.com/github_account/react-native-healthkit.git", :tag => "#{s.version}" } s.source_files = "RCTAppleHealthKit/**/*.{h,m,swift}" s.requires_arc = true s.dependency "React" end