2019-07-28 13:25:22 +08:00
|
|
|
source 'https://cdn.cocoapods.org/'
|
2019-09-27 20:57:40 +08:00
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
target.build_configurations.each do |config|
|
2020-12-18 20:16:15 +08:00
|
|
|
if ['FlexibleDiff'].include? target.name
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['SWIFT_VERSION'] = '5'
|
|
|
|
end
|
|
|
|
end
|
2023-06-09 15:24:24 +08:00
|
|
|
if config.build_settings['MACOSX_DEPLOYMENT_TARGET'] == '' || Gem::Version.new(config.build_settings['MACOSX_DEPLOYMENT_TARGET']) < Gem::Version.new("10.13")
|
2022-11-20 10:34:43 +08:00
|
|
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.13'
|
2019-09-27 20:57:40 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-06-23 14:37:00 +08:00
|
|
|
target 'ClashX' do
|
2019-05-10 20:40:35 +08:00
|
|
|
inhibit_all_warnings!
|
2020-12-24 21:21:47 +08:00
|
|
|
use_modular_headers!
|
2019-06-29 17:48:18 +08:00
|
|
|
pod 'LetsMove'
|
2020-03-04 17:45:36 +08:00
|
|
|
pod 'Alamofire', '~> 5.0'
|
2019-06-29 17:48:18 +08:00
|
|
|
pod 'SwiftyJSON'
|
|
|
|
pod 'RxSwift'
|
|
|
|
pod 'RxCocoa'
|
2018-08-12 10:30:21 +08:00
|
|
|
pod 'CocoaLumberjack/Swift'
|
2019-06-29 17:48:18 +08:00
|
|
|
pod 'WebViewJavascriptBridge'
|
2020-02-14 21:05:17 +08:00
|
|
|
pod 'Starscream','3.1.1'
|
2020-03-13 18:17:34 +08:00
|
|
|
pod 'AppCenter/Analytics'
|
2023-03-28 10:29:14 +08:00
|
|
|
pod 'AppCenter/Crashes'
|
2023-06-14 13:37:53 +08:00
|
|
|
pod 'Sparkle','~>2.0'
|
2020-04-25 12:06:02 +08:00
|
|
|
pod "FlexibleDiff"
|
2020-12-18 20:40:36 +08:00
|
|
|
pod 'GzipSwift'
|
2023-06-14 11:17:27 +08:00
|
|
|
pod 'SwiftLint'
|
2018-06-23 14:37:00 +08:00
|
|
|
end
|
|
|
|
|