# Uncomment the next line to define a global platform for your project # platform :ios, '10.0' source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/aliyun/aliyun-specs.git' platform :ios, '12.0' target 'FireBoltt' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks! # Pods for FireBoltt #Rx pod 'RxSwift', '~> 5.1.0' pod 'RxCocoa', '~> 5.1.0' pod 'RxDataSources' pod 'RxGesture' pod 'NSObject+Rx' post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DD_LEGACY_MACROS=1'] config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' end # rxswift if target.name == 'RxSwift' target.build_configurations.each do |config| if config.name == 'Debug' config.build_settings['OTHER_SWIFT_FLAGS'] ||= ['-D', 'TRACE_RESOURCES'] end end end end end # post_install do |installer| # installer.aggregate_targets.each do |target| # target.xcconfigs.each do |variant, xcconfig| # xcconfig_path = target.client_root + target.xcconfig_relative_path(variant) # IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("TOOLCHAIN_DIR", "TOOLCHAIN_DIR")) # end # if target.name == 'RxSwift' # target.build_configurations.each do |config| # if config.name == 'Debug' # config.build_settings['OTHER_SWIFT_FLAGS'] ||= ['-D', 'TRACE_RESOURCES'] # end # end # end # end # installer.pods_project.targets.each do |target| # target.build_configurations.each do |config| # if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference # xcconfig_path = config.base_configuration_reference.real_path # IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("TOOLCHAIN_DIR", "TOOLCHAIN_DIR")) # end # end # end # end #Networking pod 'Alamofire' pod 'Moya', :git=>'https://github.com/Moya/Moya.git', :tag=>'14.0.0-alpha.1' pod 'Moya/RxSwift', :git=>'https://github.com/Moya/Moya.git', :tag=>'14.0.0-alpha.1' pod 'Kingfisher' pod 'AlicloudHTTPDNS', '~> 1.19.2.4' #SwiftUI pod 'SnapKit' pod 'MJRefresh' pod 'ReusableKit' pod 'SVProgressHUD' pod 'NVActivityIndicatorView' pod 'R.swift' #ModelData pod 'FMDB' pod 'SwiftyJSON' pod 'HandyJSON', '~> 5.0.3-beta' pod 'ObjectMapper' #ToolComm pod 'Then' pod 'SSZipArchive' pod 'CryptoSwift' #nordic蓝牙固件升级 pod 'iOSDFULibrary' pod 'ZIPFoundation', '~> 0.9' pod "TableViewDragger" pod 'CHKLineChartKit' end