forked from ClashX-Pro/ClashX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
38 lines (34 loc) · 1.16 KB
/
Copy pathPodfile
File metadata and controls
38 lines (34 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
source 'https://cdn.cocoapods.org/'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Force Swift 5.0 for all pods to maintain Xcode 15 compatibility
if config.build_settings['SWIFT_VERSION'] && Gem::Version.new(config.build_settings['SWIFT_VERSION']) > Gem::Version.new('5.0')
config.build_settings['SWIFT_VERSION'] = '5.0'
end
# Ensure minimum deployment target
if config.build_settings['MACOSX_DEPLOYMENT_TARGET'] == '' || Gem::Version.new(config.build_settings['MACOSX_DEPLOYMENT_TARGET']) < Gem::Version.new("10.14")
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.14'
end
end
end
end
target 'ClashX' do
platform :osx, '10.14'
inhibit_all_warnings!
use_modular_headers!
pod 'LetsMove'
pod 'Alamofire', '~> 5.0'
pod 'SwiftyJSON'
pod 'RxSwift', '~> 6.0'
pod 'RxCocoa', '~> 6.0'
pod 'CocoaLumberjack/Swift', '~> 3.8.0'
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