2018-09-09 17:36:28 +00:00
|
|
|
require 'json'
|
|
|
|
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = package['name']
|
|
|
|
s.version = package['version']
|
2018-09-09 17:39:38 +00:00
|
|
|
s.summary = package['description']
|
2018-10-18 09:08:49 +00:00
|
|
|
s.license = package['license']
|
2018-09-09 17:36:28 +00:00
|
|
|
|
|
|
|
s.authors = package['author']
|
|
|
|
s.homepage = package['homepage']
|
|
|
|
s.platform = :ios, "9.0"
|
|
|
|
|
2019-07-02 14:58:50 +00:00
|
|
|
s.source = { :git => "https://github.com/react-native-community/react-native-webview.git", :tag => "v#{s.version}" }
|
2018-09-09 17:36:28 +00:00
|
|
|
s.source_files = "ios/**/*.{h,m}"
|
|
|
|
|
|
|
|
s.dependency 'React'
|
2018-10-18 09:08:49 +00:00
|
|
|
end
|