2023-11-19 23:25:51 +03:00
|
|
|
inhibit_all_warnings!
|
|
|
|
use_frameworks!
|
|
|
|
|
|
|
|
def shared_pods
|
|
|
|
pod 'BigInt'
|
|
|
|
pod 'Kingfisher'
|
|
|
|
pod 'TrustWalletCore'
|
|
|
|
end
|
|
|
|
|
2024-03-27 19:32:53 +03:00
|
|
|
target 'Wallet' do
|
2023-11-22 18:10:05 +03:00
|
|
|
platform :osx, '12.0'
|
2023-11-19 23:25:51 +03:00
|
|
|
shared_pods
|
|
|
|
end
|
|
|
|
|
2024-02-09 16:15:48 +03:00
|
|
|
target 'Wallet iOS' do
|
2023-11-19 23:25:51 +03:00
|
|
|
platform :ios, '15.0'
|
|
|
|
shared_pods
|
|
|
|
end
|
2023-11-23 00:03:35 +03:00
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
installer.generated_projects.each do |project|
|
|
|
|
project.build_configurations.each do |config|
|
2023-11-23 00:06:05 +03:00
|
|
|
project.targets.each do |target|
|
|
|
|
if target.platform_name == :ios
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
|
|
|
|
end
|
|
|
|
elsif target.platform_name == :osx
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '12.0'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2023-11-23 00:03:35 +03:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|