signal-zkgroup-swift/ZKGroup.podspec

36 lines
1.2 KiB
Ruby

#
# Be sure to run `pod spec lint credential.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "ZKGroup"
s.version = "0.7.1"
s.summary = "Swift API for the Rust zkgroup crate."
s.homepage = "https://signal.org/"
s.license = { :type => "GPLv3", :file => "LICENSE" }
s.authors = { "Signal iOS" => "ios@signal.org" }
s.source = { :git => "https://github.com/signalapp/signal-groupzk-swift.git", :tag => "#{s.version}" }
s.ios.deployment_target = "10.0"
s.ios.vendored_library = "ZKGroup/libzkgroup/libzkgroup_ios.a"
s.source_files = "ZKGroup/**/*.{h,swift}"
s.public_header_files = "ZKGroup/*.h"
s.preserve_paths = 'ZKGroup/libzkgroup/module.modulemap'
s.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS' => '$(PODS_TARGET_SRCROOT)/ZKGroup/libzkgroup',
}
s.requires_arc = true
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'ZKGroupTests/*.{h,m,swift}'
end
end