```ruby
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
```

Add React dependency to podspec
user
```ruby
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
```
assistant