require "json"
package = JSON.parse(File.read('package.json'))

Pod::Spec.new do |s|
  s.name          = package['name']
  s.version       = package['version']
  s.summary       = package['description']
  s.author        = package['author']['name']
  s.license       = package['license']
  s.requires_arc  = true
  s.homepage      = "https://github.com/wonday/react-native-pdf"
  s.source        = { :git => 'https://github.com/wonday/react-native-pdf.git' }
  s.platform      = :ios, '8.0'
  s.source_files  = "ios/**/*.{h,m}"
end

require "json"
package = JSON.parse(File.read('package.json'))

Pod::Spec.new do |s|
  s.name          = package['name']
  s.version       = package['version']
  s.summary       = package['description']
  s.author        = package['author']['name']
  s.license       = package['license']
  s.requires_arc  = true
  s.homepage      = "https://github.com/wonday/react-native-pdf"
  s.source        = { :git => 'https://github.com/wonday/react-native-pdf.git' }
  s.platform      = :ios, '8.0'
  s.source_files  = "ios/**/*.{h,m}"
  s.dependency    "React"
end

Fix compile issues with cocoapods 1.5+
Fix compile issues with cocoapods 1.5+

Add React as explicit dependency