36 lines
866 B
Ruby
36 lines
866 B
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'] == ''
|
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.10'
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
target 'ClashX' do
|
|
inhibit_all_warnings!
|
|
use_frameworks!
|
|
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 'Firebase/Crashlytics'
|
|
pod 'Sparkle'
|
|
pod "FlexibleDiff"
|
|
pod 'GzipSwift'
|
|
end
|
|
|