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 = "RNReanimated"
|
7 | s.version = package["version"]
|
8 | s.summary = package["description"]
|
9 | s.description = <<-DESC
|
10 | RNReanimated
|
11 | DESC
|
12 | s.homepage = "https://github.com/software-mansion/react-native-reanimated"
|
13 | s.license = "MIT"
|
14 |
|
15 | s.author = { "author" => "author@domain.cn" }
|
16 | s.platforms = { :ios => "9.0", :tvos => "9.0" }
|
17 | s.source = { :git => "https://github.com/software-mansion/react-native-reanimated.git", :tag => "#{s.version}" }
|
18 |
|
19 | s.source_files = "ios/**/*.{h,m}"
|
20 | s.requires_arc = true
|
21 |
|
22 | s.dependency "React"
|
23 | end
|
24 |
|