-
Notifications
You must be signed in to change notification settings - Fork 86
/
Podfile
37 lines (30 loc) · 905 Bytes
/
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
platform :ios, '13.0'
# ignore all warnings from all pods
inhibit_all_warnings!
target 'Clendar' do
use_frameworks!
# Core
pod 'SwiftyChrono'
pod 'SwiftLint'
pod 'R.swift'
pod 'LicensePlist' # Installation path: `${PODS_ROOT}/LicensePlist/license-plist`
pod 'SwiftFormat/CLI'
pod 'TPInAppReceipt'
target 'ClendarTests' do
inherit! :search_paths
end
target 'ClendarUITests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
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