# Uncomment the next line to define a global platform for your project platform :ios, '13.0' source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' project 'YuMi.xcodeproj' target 'YuMi' do use_frameworks! pod 'MJExtension', '3.4.2' pod 'SDWebImage', '5.21.3' pod 'AFNetworking' pod 'Masonry' pod 'YYWebImage' pod 'SZTextView' pod 'SDCycleScrollView' pod 'ReactiveObjC' pod 'MBProgressHUD' pod 'FFPopup' pod 'MJRefresh', '3.7.9' pod 'IQKeyboardManager' pod 'TZImagePickerController' pod 'SSKeychain' pod 'Base64' pod 'pop' pod 'ZLCollectionViewFlowLayout' pod 'TABAnimated' pod 'YuMi',:path=>'yum' pod 'QCloudCOSXML' pod 'TYCyclePagerView' pod 'SnapKit', '~> 5.0' end post_install do |installer| installer.generated_projects.each do |project| project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym' config.build_settings['ENABLE_BITCODE'] = 'NO' 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 end end end