Skip to content

Commit e630add

Browse files
authored
Merge pull request #11 from zimo888/master
added a fille for Cocoapods
2 parents 280432a + 01eb647 commit e630add

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

RNZIp.podspec

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require 'json'
2+
pjson = JSON.parse(File.read('package.json'))
3+
4+
Pod::Spec.new do |s|
5+
6+
s.name = "RNZIp"
7+
s.version = pjson["version"]
8+
s.homepage = "https://github.com/plrthink/react-native-zip-archive"
9+
s.summary = pjson["description"]
10+
s.license = pjson["license"]
11+
s.author = { "zimo" => "[email protected]" }
12+
s.platform = :ios, "7.0"
13+
s.source = { :git => "https://github.com/plrthink/react-native-zip-archive", :tag => "#{s.version}" }
14+
s.source_files = '**/*.{h,m,c}'
15+
s.preserve_paths = "**/*.js"
16+
17+
s.dependency 'React/Core'
18+
19+
end

0 commit comments

Comments
 (0)