Signal-iOS/ThirdParty/SSZipArchive.podspec
Evan Hahn 04a604cd3e Update SSZipArchive to 2.5.2
This updates `SSZipArchive` from 2.1.4 to 2.5.2.

Notably, we need a custom podspec because we need to lower its
deployment target.

Tested this by submitting debug logs successfully.
2022-11-01 16:23:22 -05:00

26 lines
1.4 KiB
Ruby

# This custom podspec lowers the deployment target to 12.2, but should
# otherwise be the same as [the upstream podspec][0].
#
# [0]: https://github.com/ZipArchive/ZipArchive/blob/28312ba171da6647f410c6e5128a1fca9d2110b5/SSZipArchive.podspec
Pod::Spec.new do |s|
s.name = 'SSZipArchive'
s.version = '2.5.2'
s.summary = 'Utility class for zipping and unzipping files on iOS, tvOS, watchOS, and macOS.'
s.description = 'SSZipArchive is a simple utility class for zipping and unzipping files on iOS, tvOS, watchOS, and macOS. It supports AES and PKWARE encryption.'
s.homepage = 'https://github.com/ZipArchive/ZipArchive'
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
s.authors = { 'Sam Soffes' => 'sam@soff.es', 'Joshua Hudson' => nil, 'Wilson Chen' => nil }
s.source = { :git => 'https://github.com/ZipArchive/ZipArchive.git', :tag => "#{s.version}" }
s.ios.deployment_target = '12.2'
s.tvos.deployment_target = '15.4'
s.osx.deployment_target = '10.15'
s.watchos.deployment_target = '8.4'
s.source_files = 'SSZipArchive/*.{m,h}', 'SSZipArchive/include/*.{m,h}', 'SSZipArchive/minizip/*.{c,h}'
s.public_header_files = 'SSZipArchive/*.h'
s.libraries = 'z', 'iconv'
s.framework = 'Security'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES',
'GCC_PREPROCESSOR_DEFINITIONS' => 'HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB ZLIB_COMPAT' }
end