platform :ios, '10.0' inhibit_all_warnings! source 'https://github.com/CocoaPods/Specs.git' target 'AlphaWallet' do use_frameworks! pod 'BigInt', '~> 3.0' pod 'R.swift' pod 'JSONRPCKit', '~> 2.0.0' pod 'APIKit' pod 'Eureka', '~> 4.1' pod 'MBProgressHUD' pod 'StatefulViewController' pod 'QRCodeReaderViewController', :git=>'https://github.com/yannickl/QRCodeReaderViewController.git', :branch=>'master' pod 'KeychainSwift' pod 'SwiftLint' pod 'SeedStackViewController' pod 'RealmSwift' pod 'BonMot', '~> 5.0' pod 'Moya', '~> 10.0.1' pod 'JavaScriptKit' pod 'CryptoSwift' pod 'SwiftyXMLParser', :git => 'https://github.com/yahoojapan/SwiftyXMLParser.git' pod 'Kingfisher', '~> 4.0' pod 'TrustWeb3Provider', :git=>'https://github.com/alpha-wallet/dapp-web3-provider', :branch => 'nervos-dist' pod 'TrustKeystore', :git => 'https://github.com/alpha-wallet/trust-keystore.git', :commit => '32d4f03295aa35ec3da36327d06cff608c739778' pod 'SwiftyJSON' pod 'web3swift', :git => 'https://github.com/alpha-wallet/web3swift.git', :branch => 'alphawallet' pod 'SAMKeychain' 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 ['JSONRPCKit'].include? target.name target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.0' end end if ['TrustKeystore'].include? target.name target.build_configurations.each do |config| config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule' end end end end