dabbb5bb95
* misc: upgrade Sparkle version to 2.0 * ci: fix ci on pull request * misc: remove sparkle codesign script and optimize github action script add export step * misc: fix checkForUpdates don't work issue * misc: Using `SPUStandardUpdaterController.checkForUpdates(_:)` replace `ontroller?.checkForUpdates(_:)` * misc: Since SUUpdater is init by code, remove this judge ment * misc: move judgement --------- Co-authored-by: yicheng <11733500+yichengchen@users.noreply.github.com>
37 lines
993 B
Ruby
37 lines
993 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'] == '' || 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'
|
|
end
|
|
|