-
Notifications
You must be signed in to change notification settings - Fork 371
/
Podfile
126 lines (111 loc) · 4.98 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
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
120
121
122
123
124
125
126
# frozen_string_literal: true
platform :ios, '14.0'
inhibit_all_warnings!
source 'https://cdn.cocoapods.org/'
target 'AlphaWallet' do # rubocop:disable Metrics/BlockLength
use_frameworks!
pod 'BigInt', '~> 3.1'
pod 'R.swift'
pod 'MBProgressHUD'
pod 'StatefulViewController'
pod 'QRCodeReaderViewController', git: 'https://github.com/AlphaWallet/QRCodeReaderViewController.git', commit: '09da2d4b835589972ecacd022a75bc27b2c1d1bd'
pod 'KeychainSwift', git: 'https://github.com/AlphaWallet/keychain-swift.git', commit: 'b797d40a9d08ec509db4335140cf2259b226e6a2'
pod 'Kingfisher', '~> 7.6.2'
pod 'AlphaWalletWeb3Provider', git: 'https://github.com/AlphaWallet/AlphaWallet-web3-provider', commit: 'bdb38b06eeedeb4ca1e32d3ecd81783b5116ae68'
pod 'TrezorCrypto', git: 'https://github.com/AlphaWallet/trezor-crypto-ios.git', commit: '50c16ba5527e269bbc838e80aee5bac0fe304cc7'
pod 'TrustKeystore', git: 'https://github.com/AlphaWallet/latest-keystore-snapshot', commit: 'c0bdc4f6ffc117b103e19d17b83109d4f5a0e764'
pod 'SAMKeychain'
pod 'PromiseKit/CorePromise'
pod 'Kanna', git: 'https://github.com/tid-kijyun/Kanna.git', commit: '06a04bc28783ccbb40efba355dee845a024033e8'
pod 'Mixpanel-swift', '~> 3.1'
pod 'EthereumABI', git: 'https://github.com/AlphaWallet/EthereumABI.git', commit: '877b77e8e7cbc54ab0712d509b74fec21b79d1bb'
pod 'Charts'
pod 'AlphaWalletABI', path: '.'
pod 'AlphaWalletAddress', path: '.'
pod 'AlphaWalletAttestation', path: '.'
pod 'AlphaWalletBrowser', path: '.'
pod 'AlphaWalletCore', path: '.'
pod 'AlphaWalletGoBack', path: '.'
pod 'AlphaWalletENS', path: '.'
pod 'AlphaWalletHardwareWallet', path: '.'
pod 'AlphaWalletLogger', path: '.'
pod 'AlphaWalletOpenSea', path: '.'
pod 'AlphaWalletFoundation', path: '.'
pod 'AlphaWalletTrackAPICalls', path: '.'
pod 'AlphaWalletWeb3', path: '.'
pod 'AlphaWalletShareExtensionCore', path: '.'
pod 'AlphaWalletTrustWalletCoreExtensions', path: '.'
pod 'AlphaWalletNotifications', path: '.'
pod 'AlphaWalletTokenScript', path: '.'
pod 'MailchimpSDK'
pod 'xcbeautify'
pod 'FloatingPanel'
pod 'IQKeyboardManager'
pod 'InjectHotReload'
pod 'SwiftLint', '0.50.3', configuration: 'Debug'
pod 'SwiftFormat/CLI', '~> 0.49', configuration: 'Debug'
pod 'Firebase/Crashlytics'
# TODO: maybe can remove this. Is this v1?
pod 'WalletConnectSwift', git: 'https://github.com/AlphaWallet/WalletConnectSwift.git', branch: 'alphaWallet'
pod 'Starscream', '3.1.1'
target 'AlphaWalletTests' do
inherit! :search_paths
# Pods for testing
pod 'iOSSnapshotTestCase', '6.2.0'
pod 'BigInt', '~> 3.1'
end
end
target 'AlphaWalletShare' do
use_frameworks!
inherit! :search_paths
pod 'AlphaWalletShareExtensionCore', path: '.'
end
post_install do |installer| # rubocop:disable Metrics/BlockLength
installer.pods_project.targets.each do |target| # rubocop:disable Metrics/BlockLength
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
if ['MailchimpSDK'].include? target.name
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
end
end
if ['TrustKeystore'].include? target.name
target.build_configurations
.reject(&:debug?)
.each do |config|
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
end
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
if %w[Result SwiftyXMLParser JSONRPCKit Starscream].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
# Work around for build warning:
# Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
# From https://github.com/realm/realm-swift/issues/7957#issuecomment-1248556797
if ['Realm'].include? target.name
create_symlink_phase = target.shell_script_build_phases.find { |x| x.name == 'Create Symlinks to Header Folders' }
create_symlink_phase.always_out_of_date = '1'
end
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
end
target.build_configurations
.filter(&:debug?)
.each do |config|
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
end
target.build_configurations.each do |config|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ''
config.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end