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']
|
2020-04-24 17:54:17 +00:00
|
|
|
s.platforms = { :ios => "9.0", :osx => "10.14" }
|
2018-09-09 17:36:28 +00:00
|
|
|
|
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}" }
|
2020-04-24 17:54:17 +00:00
|
|
|
s.source_files = "apple/**/*.{h,m}"
|
2018-09-09 17:36:28 +00:00
|
|
|
|
|
|
|
s.dependency 'React'
|
2018-10-18 09:08:49 +00:00
|
|
|
end
|