-
Notifications
You must be signed in to change notification settings - Fork 22
/
UnzipKit.podspec
35 lines (34 loc) · 1.51 KB
/
UnzipKit.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
25
26
27
28
29
30
31
32
33
34
35
Pod::Spec.new do |s|
s.name = "UnzipKit"
s.version = ENV["TRAVIS_TAG"]
s.summary = "An Objective-C zlib wrapper for compressing and decompressing Zip files"
s.license = "BSD"
s.homepage = "https://github.com/abbeycode/UnzipKit"
s.author = { "Dov Frankel" => "[email protected]" }
s.social_media_url = "https://twitter.com/dovfrankel"
s.source = { :git => "https://github.com/abbeycode/UnzipKit.git", :tag => "#{s.version}" }
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.9"
s.requires_arc = 'Source/**/*'
s.public_header_files = "Source/UnzipKit.h",
"Source/UZKArchive.h",
"Source/UZKFileInfo.h"
s.private_header_files = "Source/UZKFileInfo_Private.h"
s.source_files = "Source/**/*.{h,m}"
s.exclude_files = 'Resources/**/Info.plist'
s.resource_bundles = {
'UnzipKitResources' => ['Resources/**/*']
}
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'Tests/*.{h,m}'
test_spec.exclude_files = 'Tests/ExtractFilesTests.m'
test_spec.resources = ['Tests/Test Data']
test_spec.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited) -Wno-unguarded-availability" }
end
s.library = "z"
s.subspec "minizip-lib" do |ss|
ss.private_header_files = "Lib/MiniZip/*.h"
ss.source_files = "Lib/MiniZip/*.{h,c}"
ss.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited) -Wno-comma -Wno-strict-prototypes" }
end
end