mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-02 09:33:49 +03:00
37 lines
821 B
Ruby
37 lines
821 B
Ruby
inhibit_all_warnings!
|
|
use_frameworks!
|
|
|
|
def shared_pods
|
|
pod 'BigInt'
|
|
pod 'Kingfisher'
|
|
pod 'TrustWalletCore'
|
|
end
|
|
|
|
target 'Tokenary' do
|
|
platform :osx, '12.0'
|
|
shared_pods
|
|
end
|
|
|
|
target 'Tokenary iOS' do
|
|
platform :ios, '15.0'
|
|
shared_pods
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.generated_projects.each do |project|
|
|
project.build_configurations.each do |config|
|
|
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
|
|
end
|
|
end
|
|
end
|