forked from tisfeng/Easydict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
47 lines (37 loc) · 1.31 KB
/
Podfile
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
38
39
40
41
42
43
44
45
46
47
source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '11.0'
inhibit_all_warnings!
target 'Easydict' do
use_frameworks!
pod 'AFNetworking', '~> 3.2.1'
pod 'Masonry', '~> 1.1.0'
pod 'ReactiveObjC', '~> 3.1.1'
pod 'MASShortcut', :git => 'git@github.com:AkaShark/MASShortcut.git', :branch => 'double_click_modifier'
pod 'MASPreferences', '~> 1.4.1'
pod 'KVOController', '~> 1.2.0'
pod 'JLRoutes', '~> 2.1'
# Swift format
pod 'SwiftFormat/CLI', '~> 0.53.2'
pod 'SwiftLint', '~> 0.54.0'
end
target 'EasydictTests' do
use_frameworks!
pod 'AFNetworking', '~> 3.2.1'
pod 'Masonry', '~> 1.1.0'
pod 'ReactiveObjC', '~> 3.1.1'
pod 'MASShortcut', :git => 'git@github.com:AkaShark/MASShortcut.git', :branch => 'double_click_modifier'
pod 'MASPreferences', '~> 1.4.1'
pod 'KVOController', '~> 1.2.0'
pod 'JLRoutes', '~> 2.1'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '11.0'
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end