-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathRNZipArchive.podspec
More file actions
28 lines (24 loc) · 977 Bytes
/
Copy pathRNZipArchive.podspec
File metadata and controls
28 lines (24 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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, '15.5'
s.preserve_paths = '*.js'
if defined?(install_modules_dependencies) != nil
install_modules_dependencies(s)
else
s.dependency 'React-Core'
end
s.dependency 'SSZipArchive', '~>2.5.5'
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '$(inherited) "$(PODS_ROOT)/SSZipArchive" "$(PODS_ROOT)/SSZipArchive/SSZipArchive/minizip"'
}
s.source_files = 'ios/*.{h,m,mm}'
s.public_header_files = ['ios/RNZipArchive.h']
end