# rn-app-rating.podspec require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| s.name = "rn-app-rating" s.version = package["version"] s.summary = package["description"] s.description = <<-DESC rn-app-rating DESC s.homepage = "https://github.com/github_account/rn-app-rating" # brief license entry: s.license = "MIT" # optional - use expanded license entry instead: # s.license = { :type => "MIT", :file => "LICENSE" } s.authors = { "Vinod Ranganath" => "vinod.ranganath13@gmail.com" } s.platforms = { :ios => "9.0" } s.source = { :git => "https://github.com/github_account/rn-app-rating.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,c,cc,cpp,m,mm,swift}" s.requires_arc = true s.dependency "React" # ... # s.dependency "..." end