38 lines
1.0 KiB
Ruby
38 lines
1.0 KiB
Ruby
source 'https://cdn.cocoapods.org/'
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
if ['FlexibleDiff'].include? target.name
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['SWIFT_VERSION'] = '5'
|
|
end
|
|
end
|
|
if config.build_settings['MACOSX_DEPLOYMENT_TARGET'] == '' || Gem::Version.new(config.build_settings['MACOSX_DEPLOYMENT_TARGET']) < Gem::Version.new("10.13")
|
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.13'
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
target 'ClashX' do
|
|
inhibit_all_warnings!
|
|
use_modular_headers!
|
|
pod 'LetsMove'
|
|
pod 'Alamofire', '~> 5.0'
|
|
pod 'SwiftyJSON'
|
|
pod 'RxSwift'
|
|
pod 'RxCocoa'
|
|
pod 'CocoaLumberjack/Swift'
|
|
pod 'WebViewJavascriptBridge'
|
|
pod 'Starscream','3.1.1'
|
|
pod 'AppCenter/Analytics'
|
|
pod 'AppCenter/Crashes'
|
|
pod 'Sparkle','~>2.0'
|
|
pod "FlexibleDiff"
|
|
pod 'GzipSwift'
|
|
pod 'SwiftLint'
|
|
pod 'SwiftFormat/CLI', '~> 0.49'
|
|
end
|
|
|