2020-04-23 10:11:03 -07:00
|
|
|
platform :ios, '13.0'
|
2019-09-09 08:30:38 -07:00
|
|
|
|
|
|
|
target 'ZcashLightClientSample' do
|
|
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
|
|
use_frameworks!
|
2019-12-06 04:38:47 -08:00
|
|
|
pod "KRProgressHUD"
|
2019-09-09 08:30:38 -07:00
|
|
|
# Pods for ZcashLightClientSample
|
2019-11-14 06:38:54 -08:00
|
|
|
pod 'ZcashLightClientKit', :path => '../../', :testspecs => ['Tests']
|
2020-08-10 15:19:59 -07:00
|
|
|
pod 'gRPC-Swift', '= 1.0.0-alpha.17'
|
2019-12-16 14:25:45 -08:00
|
|
|
pod 'PaginatedTableView'
|
2019-12-17 12:11:21 -08:00
|
|
|
pod 'NotificationBubbles'
|
2020-06-09 07:27:10 -07:00
|
|
|
pod 'MnemonicSwift'
|
2019-09-09 08:30:38 -07:00
|
|
|
target 'ZcashLightClientSampleTests' do
|
2020-06-17 10:35:47 -07:00
|
|
|
use_frameworks!
|
2019-09-09 08:30:38 -07:00
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
2020-06-09 07:27:10 -07:00
|
|
|
pod 'MnemonicSwift'
|
2019-09-09 08:30:38 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
target 'ZcashLightClientSampleUITests' do
|
2020-06-17 10:35:47 -07:00
|
|
|
use_frameworks!
|
2019-09-09 08:30:38 -07:00
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
2020-04-23 10:11:03 -07:00
|
|
|
|
2020-01-14 14:25:14 -08:00
|
|
|
end
|
2019-09-09 08:30:38 -07:00
|
|
|
|
2020-01-14 14:25:14 -08:00
|
|
|
target 'ZcashLightClientSample-Mainnet' do
|
|
|
|
inherit! :search_paths
|
|
|
|
use_frameworks!
|
|
|
|
pod "KRProgressHUD"
|
|
|
|
pod 'PaginatedTableView'
|
|
|
|
pod 'NotificationBubbles'
|
|
|
|
pod 'ZcashLightClientKit', :path => '../../'
|
2019-09-09 08:30:38 -07:00
|
|
|
end
|
2020-01-14 14:25:14 -08:00
|
|
|
|
|
|
|
|
2019-12-06 04:38:47 -08:00
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
2020-06-03 16:18:57 -07:00
|
|
|
|
2019-12-06 04:38:47 -08:00
|
|
|
target.build_configurations.each do |config|
|
2020-01-14 14:25:14 -08:00
|
|
|
|
2020-06-03 16:18:57 -07:00
|
|
|
if target.name == 'ZcashLightClientKit-Unit-Tests'
|
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
|
|
|
|
end
|
2020-01-14 14:25:14 -08:00
|
|
|
if target.name == 'ZcashLightClientKit'
|
|
|
|
config.build_settings['ZCASH_NETWORK_ENVIRONMENT'] = ENV["ZCASH_NETWORK_ENVIRONMENT"]
|
|
|
|
end
|
2019-12-06 04:38:47 -08:00
|
|
|
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|