-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathPodfile
47 lines (42 loc) · 1.27 KB
/
Podfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
inhibit_all_warnings!
use_frameworks!
def shared_pods
pod 'BigInt'
pod 'Kingfisher'
pod 'TrustWalletCore'
end
target 'Big Wallet' do
platform :osx, '14.0'
shared_pods
end
target 'Big Wallet iOS' do
platform :ios, '17.0'
shared_pods
end
target 'Big Wallet visionOS' do
platform :visionos, '1.0'
pod 'Kingfisher'
pod 'VBigInt', :git => 'https://github.com/grachyov/BigInt.git', :branch => 'master'
pod 'VTrustWalletCore', :podspec => 'https://github.com/grachyov/wallet-core/raw/master/VTrustWalletCore.podspec'
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'] = '17.0'
end
elsif target.platform_name == :osx
target.build_configurations.each do |config|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '14.0'
end
elsif target.platform_name == :visionos
target.build_configurations.each do |config|
config.build_settings['VISIONOS_DEPLOYMENT_TARGET'] = '1.0'
end
end
end
end
end
end