react-native-view-shot.podspec 542B

123456789101112131415161718192021
  1. require 'json'
  2. package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
  3. Pod::Spec.new do |s|
  4. s.name = package['name']
  5. s.version = package['version']
  6. s.summary = package['description']
  7. s.license = package['license']
  8. s.authors = package['author']
  9. s.homepage = package['homepage']
  10. s.platform = :ios, "9.0"
  11. s.source = { :git => "https://github.com/gre/react-native-view-shot.git", :tag => "v#{s.version}" }
  12. s.source_files = "ios/**/*.{h,m}"
  13. s.dependency 'React'
  14. end