platform :ios, '12.0'
inhibit_all_warnings!
source 'https://cdn.cocoapods.org/'
target 'AlphaWallet' do
use_frameworks!
pod 'BigInt', '~> 3.0'
pod 'R.swift'
pod 'JSONRPCKit', '~> 2.0.0'
pod 'APIKit'
pod 'Eureka', :git=> 'https://github.com/xmartlabs/Eureka.git', :commit => '5c54e2607632ce586010e50e91d9adcb6bb3909e'
pod 'MBProgressHUD'
pod 'StatefulViewController'
pod 'QRCodeReaderViewController', :git=>'https://github.com/AlphaWallet/QRCodeReaderViewController.git', :commit=>'30d1a2a7d167d0d207ae0ae3a4d81bcf473d7a65'
pod 'KeychainSwift', :git=>'https://github.com/AlphaWallet/keychain-swift.git', :commit=> 'b797d40a9d08ec509db4335140cf2259b226e6a2'
pod 'SwiftLint'
pod 'SeedStackViewController'
pod 'RealmSwift', '~> 5.4.0'
pod 'Moya', '~> 10.0.1'
pod 'JavaScriptKit'
pod 'CryptoSwift', '~> 1.0'
pod 'SwiftyXMLParser', :git => 'https://github.com/yahoojapan/SwiftyXMLParser.git'
pod 'Kingfisher'
pod 'AlphaWalletWeb3Provider', :git=>'https://github.com/AlphaWallet/AlphaWallet-web3-provider', :commit => '1c1aafb566361e7067e69f6e38b0fdc30b801429'
pod 'TrezorCrypto', :git=>'https://github.com/AlphaWallet/trezor-crypto-ios.git', :commit => '50c16ba5527e269bbc838e80aee5bac0fe304cc7'
pod 'TrustKeystore', :git => 'https://github.com/alpha-wallet/trust-keystore.git', :commit => 'c0bdc4f6ffc117b103e19d17b83109d4f5a0e764'
pod 'SwiftyJSON'
pod 'web3swift', :git => 'https://github.com/AlphaWallet/web3swift.git', :commit=> '169e50e29b60df72351c689a002005d2e2bc7559'
pod 'SAMKeychain'
pod 'PromiseKit/CorePromise'
pod 'PromiseKit/Alamofire'
#To force SWXMLHash which Macaw depends on to be Swift >= 4
pod 'SWXMLHash', '~> 5.0.0'
pod "Macaw", :git => 'https://github.com/AlphaWallet/Macaw.git', :commit=> 'aa4389b0dce39f754d454f3c19f71f0ef577c403'
pod "Kanna", :git => 'https://github.com/tid-kijyun/Kanna.git', :commit => '06a04bc28783ccbb40efba355dee845a024033e8'
pod 'TrustWalletCore'
pod 'AWSSNS'
pod 'Mixpanel-swift'
# pod 'AWSCognito'
target 'AlphaWalletTests' do
inherit! :search_paths
# Pods for testing
pod 'iOSSnapshotTestCase'
end
target 'AlphaWalletUITests' do
inherit! :search_paths
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['TrustKeystore'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
end
end
if ['Result', 'SwiftyXMLParser', 'JSONRPCKit', 'SWXMLHash'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
target.build_configurations.each do |config|
if ['Kingfisher'].include? target.name
#no op
else
#xCode 12 requires minimum IPHONEOS_DEPLOYMENT_TARGET 9.0
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] <= '8.0'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0';
end
end
end
end
end