RNPermissions.podspec 737B

12345678910111213141516171819202122
  1. require 'json'
  2. package = JSON.parse(File.read('./package.json'))
  3. Pod::Spec.new do |s|
  4. s.name = "RNPermissions"
  5. s.dependency "React"
  6. s.version = package["version"]
  7. s.license = package["license"]
  8. s.summary = package["description"]
  9. s.authors = package["author"]
  10. s.homepage = package["homepage"]
  11. s.platform = :ios, "9.0"
  12. s.ios.deployment_target = "9.0"
  13. s.tvos.deployment_target = "11.0"
  14. s.requires_arc = true
  15. s.source = { :git => package["repository"]["url"], :tag => s.version }
  16. s.source_files = "ios/*.{h,m}"
  17. end