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 = "lottie-react-native"
|
7 | s.version = package['version']
|
8 | s.summary = "Lottie component for React Native (iOS and Android)"
|
9 |
|
10 | s.authors = { "intelligibabble" => "leland.m.richardson@gmail.com" }
|
11 | s.homepage = "https://github.com/airbnb/lottie-react-native#readme"
|
12 | s.license = package['license']
|
13 | s.platform = :ios, "9.0"
|
14 |
|
15 | s.source = { :git => "https://github.com/react-community/lottie-react-native.git", :tag => "v#{s.version}" }
|
16 | s.source_files = "src/ios/**/*.{h,m,swift}"
|
17 | s.swift_version = "4.2"
|
18 | s.dependency 'React'
|
19 | s.dependency 'lottie-ios', '~> 3.1.3'
|
20 | end
|