-
Notifications
You must be signed in to change notification settings - Fork 381
/
Podfile
43 lines (33 loc) · 1.04 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
source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '13.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 'KVOController', '~> 1.2.0'
pod 'JLRoutes', '~> 2.1'
# Swift format
pod 'SwiftFormat/CLI', '~> 0.54'
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 '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'] = '13.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