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 = 'RNSVG'
|
7 | s.version = package['version']
|
8 | s.summary = package['description']
|
9 | s.license = package['license']
|
10 | s.homepage = package['homepage']
|
11 | s.authors = 'Horcrux Chen'
|
12 | s.platforms = { :ios => "9.0", :tvos => "9.2" }
|
13 | s.source = { :git => 'https://github.com/react-native-community/react-native-svg.git', :tag => "v#{s.version}" }
|
14 | s.source_files = 'ios/**/*.{h,m}'
|
15 | s.requires_arc = true
|
16 | s.dependency 'React'
|
17 | end
|