forked from mockingbot/react-native-zip-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRNZipArchive.podspec
24 lines (20 loc) · 900 Bytes
/
RNZipArchive.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'RNZipArchive'
s.version = package['version']
s.summary = package['description']
s.author = package['author']
s.license = package['license']
s.homepage = 'https://github.com/mockingbot/react-native-zip-archive'
s.source = { :git => 'https://github.com/mockingbot/react-native-zip-archive.git', :tag => "#{s.version}"}
s.platform = :ios, '8.0'
s.preserve_paths = '*.js'
s.dependency 'React'
s.dependency 'SSZipArchive', '2.2.2'
s.compiler_flags = '-GCC_PREPROCESSOR_DEFINITIONS="HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB MZ_ZIP_NO_SIGNING $(inherited)"'
s.subspec 'Core' do |ss|
ss.source_files = 'ios/*.{h,m}'
ss.public_header_files = ['ios/RNZipArchive.h']
end
end