forked from soramitsu/fearless-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
119 lines (106 loc) · 4.69 KB
/
Podfile
File metadata and controls
119 lines (106 loc) · 4.69 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
platform :ios, '14.1'
source 'https://github.com/soramitsu/SSFSpecs.git'
source 'https://github.com/CocoaPods/Specs.git'
abstract_target 'fearlessAll' do
use_frameworks!
pod 'SwiftLint'
pod 'R.swift', '6.1.0', :inhibit_warnings => true
pod 'SoraKeystore', :git => 'https://github.com/soramitsu/keystore-iOS.git', :tag => '1.0.1'
pod 'SoraUI', '~> 1.10.3'
pod 'IrohaCrypto'
pod 'RobinHood', '2.6.8'
pod 'CommonWallet/Core'
pod 'SoraFoundation', '~> 1.0.0'
pod 'SwiftyBeaver'
pod 'Starscream', :git => 'https://github.com/soramitsu/fearless-starscream.git' , :tag => '4.0.8'
pod 'ReachabilitySwift'
pod 'SnapKit', '~> 5.0.0'
pod 'SwiftFormat/CLI', '~> 0.47.13'
pod 'Sourcery', '~> 1.4'
pod 'Kingfisher', '7.10.2' , :inhibit_warnings => true
pod 'SVGKit'
pod 'keccak.c'
pod 'Charts', '~> 4.1.0'
pod 'XNetworking', :podspec => 'https://raw.githubusercontent.com/soramitsu/x-networking/0.0.37/AppCommonNetworking/XNetworking/XNetworking.podspec'
pod 'MediaView', :git => 'https://github.com/bnsports/MediaView.git', :branch => 'dev'
pod 'FearlessKeys', '0.1.3'
pod 'MPQRCoreSDK', :configurations => ['Release']
def pods_with_configurations
if %r{^true$}i.match ENV['F_DEV']
pod 'SSFXCM', :configurations => ['DEBUG']
else
pod 'SSFXCM', '0.1.25'
pod 'SSFExtrinsicKit', '0.1.31'
pod 'SSFCrypto'
pod 'SSFSigner'
pod 'SSFModels', '0.1.32'
pod 'SSFEraKit'
pod 'SSFLogger'
pod 'SSFRuntimeCodingService', '0.1.29'
pod 'SSFStorageQueryKit'
pod 'SSFChainConnection', '0.1.24'
pod 'SSFNetwork'
pod 'SSFChainRegistry', '0.1.29'
pod 'SSFUtils', '0.1.31'
pod 'SSFHelpers', '0.1.31'
pod 'SSFCloudStorage'
end
end
pods_with_configurations
# Development pods
# pod 'MediaView', :path => '../MediaView-fork'
# pod 'SSFXCM', :path => '../soramitsu-shared-features-ios/SSFXCM'
# pod 'SSFExtrinsicKit', :path => '../soramitsu-shared-features-ios/SSFExtrinsicKit'
# pod 'SSFCrypto', :path => '../soramitsu-shared-features-ios/SSFCrypto'
# pod 'SSFSigner', :path => '../soramitsu-shared-features-ios/SSFSigner'
# pod 'SSFModels', :path => '../soramitsu-shared-features-ios/SSFModels'
# pod 'SSFEraKit', :path => '../soramitsu-shared-features-ios/SSFEraKit'
# pod 'SSFLogger', :path => '../soramitsu-shared-features-ios/SSFLogger'
# pod 'SSFRuntimeCodingService', :path => '../soramitsu-shared-features-ios/SSFRuntimeCodingService'
# pod 'SSFStorageQueryKit', :path => '../soramitsu-shared-features-ios/SSFStorageQueryKit'
# pod 'SSFChainConnection', :path => '../soramitsu-shared-features-ios/SSFChainConnection'
# pod 'SSFNetwork', :path => '../soramitsu-shared-features-ios/SSFNetwork'
# pod 'SSFUtils', :path => '../soramitsu-shared-features-ios/SSFUtils'
# pod 'SSFChainRegistry', :path => '../soramitsu-shared-features-ios/SSFChainRegistry'
# pod 'SSFHelpers', :path => '../soramitsu-shared-features-ios/SSFHelpers'
# pod 'web3swift-bnsports', :path => '../web3swift-bnsports'
# pod 'SSFCloudStorage', :path => '../soramitsu-shared-features-ios/SSFCloudStorage'
# pod 'SSFKeyPair', :path => '../soramitsu-shared-features-ios/SSFKeyPair'
# pod 'RobinHood', :path => '../robinhood-ios'
target 'fearlessTests' do
inherit! :search_paths
pod 'Cuckoo'
pod 'SoraFoundation', '~> 1.0.0'
pod 'R.swift', '6.1.0', :inhibit_warnings => true
pod 'FireMock', :inhibit_warnings => true
pod 'SoraKeystore', :git => 'https://github.com/soramitsu/keystore-iOS.git', :tag => '1.0.1'
pod 'IrohaCrypto'
pod 'RobinHood', '2.6.8'
pod 'CommonWallet/Core'
pod 'Sourcery', '~> 1.4'
pod 'keccak.c'
end
target 'fearlessIntegrationTests'
target 'fearless'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
if target.name == 'SSFXCM'
target.build_configurations.each do |config|
if config.name == 'Dev'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DF_DEV -D COCOAPODS'
else
config.build_settings['OTHER_SWIFT_FLAGS'] = '-D COCOAPODS'
end
end
end
end
end