2019-11-26 14:32:20 -08:00
|
|
|
platform :ios, '12.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']
|
2019-12-16 14:25:45 -08:00
|
|
|
pod 'PaginatedTableView'
|
2019-12-17 12:11:21 -08:00
|
|
|
pod 'NotificationBubbles'
|
2019-09-09 08:30:38 -07:00
|
|
|
target 'ZcashLightClientSampleTests' do
|
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
|
|
|
target 'ZcashLightClientSampleUITests' do
|
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
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|
|
2019-12-20 12:52:53 -08:00
|
|
|
# if target.name.include? '-Unit-Tests'
|
|
|
|
# Xcodeproj::XCScheme.share_scheme(installer.pods_project.path, target.name)
|
|
|
|
# end
|
2019-12-06 04:38:47 -08:00
|
|
|
target.build_configurations.each do |config|
|
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
|