1 | require 'json'
|
2 |
|
3 | Pod::Spec.new do |s|
|
4 | package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
5 |
|
6 | s.name = "RNFastImage"
|
7 | s.version = package['version']
|
8 | s.summary = package['description']
|
9 | s.authors = { "Dylan Vann" => "dylan@dylanvann.com" }
|
10 | s.homepage = "https://github.com/DylanVann/react-native-fast-image#readme"
|
11 | s.license = "MIT"
|
12 | s.platforms = { :ios => "8.0", :tvos => "9.0" }
|
13 | s.framework = 'UIKit'
|
14 | s.requires_arc = true
|
15 | s.source = { :git => "https://github.com/DylanVann/react-native-fast-image.git", :tag => "v#{s.version}" }
|
16 | s.source_files = "ios/**/*.{h,m}"
|
17 |
|
18 | s.dependency 'React-Core'
|
19 | s.dependency 'SDWebImage', '~> 5.11.1'
|
20 | s.dependency 'SDWebImageWebPCoder', '~> 0.8.4'
|
21 | end
|