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