ZcashLightClientKit/ZcashLightClientKit.podspec

49 lines
2.1 KiB
Plaintext
Raw Normal View History

2019-09-09 08:30:38 -07:00
Pod::Spec.new do |s|
s.name = 'ZcashLightClientKit'
2020-06-09 19:06:52 -07:00
s.version = '0.5.0'
2019-09-09 08:30:38 -07:00
s.summary = 'Zcash Light Client wallet SDK for iOS'
s.description = <<-DESC
Zcash Light Client wallet SDK for iOS
DESC
s.homepage = 'https://github.com/zcash/ZcashLightClientKit'
2020-06-09 19:06:52 -07:00
s.license = { :type => 'MIT', :file => 'LICENSE' }
2019-09-09 08:54:21 -07:00
s.author = {
'Francisco Gindre' => 'francisco.gindre@gmail.com',
'Jack Grigg' => 'str4d@electriccoin.co'
}
2019-09-09 08:30:38 -07:00
s.source = { :git => 'https://github.com/zcash/ZcashLightClientKit.git', :tag => s.version.to_s }
s.source_files = 'ZcashLightClientKit/**/*.{swift,h,a}'
s.module_map = 'ZcashLightClientKit.modulemap'
s.swift_version = '5.1'
2020-06-09 19:15:42 -07:00
s.ios.deployment_target = '13.0'
s.dependency 'gRPC-Swift', '~> 1.0.0-alpha.11'
s.dependency 'SQLite.swift', '~> 0.12.2'
2019-09-09 08:30:38 -07:00
s.ios.vendored_libraries = 'lib/libzcashlc.a'
2020-01-14 14:25:14 -08:00
s.preserve_paths = ['Scripts', 'rust','docs','Cargo.*','ZcashLightClientKit/Stencil']
2019-09-09 08:30:38 -07:00
s.prepare_command = <<-CMD
2020-01-14 14:25:14 -08:00
sh Scripts/prepare_zcash_sdk.sh
CMD
2020-01-14 14:25:14 -08:00
s.script_phase = {
:name => 'Build generate constants and build librustzcash',
:script => 'sh ${PODS_TARGET_SRCROOT}/Scripts/generate_zcashsdk_constants.sh && sh ${PODS_TARGET_SRCROOT}/Scripts/build_librustzcash_xcode.sh',
:execution_position => :before_compile
}
s.test_spec 'Tests' do | test_spec |
test_spec.source_files = 'ZcashLightClientKitTests/**/*.{swift}'
test_spec.ios.resources = 'ZcashLightClientKitTests/**/*.{db,params}'
test_spec.script_phase = {
:name => 'Build generate constants and build librustzcash',
2020-01-15 10:20:12 -08:00
:script => 'sh ${PODS_TARGET_SRCROOT}/Scripts/generate_test_constants.sh && ${PODS_TARGET_SRCROOT}/Scripts/build_librustzcash_xcode.sh --testing',
2020-01-14 14:25:14 -08:00
:execution_position => :before_compile
}
2020-06-09 19:15:42 -07:00
test_spec.ios.deployment_target = '13.0'
test_spec.dependency 'gRPC-Swift', '~> 1.0.0-alpha.11'
test_spec.dependency 'SQLite.swift', '~> 0.12.2'
2020-06-09 07:27:10 -07:00
test_spec.dependency 'MnemonicSwift'
2019-09-09 08:30:38 -07:00
end
2020-01-14 14:25:14 -08:00
end