CocoaPods implementation

This commit is contained in:
Thibault Malbranche
2018-09-09 19:36:28 +02:00
parent 3510a9123f
commit c9e04603d7
2 changed files with 20 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
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']
s.summary = package['description]
s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/react-native-community/react-native-webview.git" }
s.source_files = "ios/**/*.{h,m}"
s.dependency 'React'
end