Browse Source

Create RNThumbnail.podspec

Kevin Leung 6 years ago
parent
commit
9583d82817
No account linked to committer's email address
1 changed files with 22 additions and 0 deletions
  1. 22
    0
      RNThumbnail.podspec

+ 22
- 0
RNThumbnail.podspec View File

@@ -0,0 +1,22 @@
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           = "RNThumbnail"
7
+  s.version        = package['version']
8
+  s.summary        = package['description']
9
+  s.description    = package['description']
10
+  s.license        = package['license']
11
+  s.author         = package['author']
12
+  s.homepage       = package['homepage']
13
+  s.source         = { :git => 'https://github.com/phuochau/react-native-thumbnail.git' }
14
+
15
+  s.requires_arc   = true
16
+  s.platform       = :ios, '7.0'
17
+
18
+  s.preserve_paths = 'README.md', 'package.json', 'index.js'
19
+  s.source_files   = 'iOS/*.{h,m}'
20
+
21
+  s.dependency 'React'
22
+end