-
Notifications
You must be signed in to change notification settings - Fork 29
/
Podfile
62 lines (55 loc) · 1.56 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
platform :ios, '12.1'
use_frameworks!
inhibit_all_warnings!
target 'Sabbath School' do
pod 'PSPDFKit', podspec: 'https://customers.pspdfkit.com/pspdfkit-ios/10.4.2.podspec'
pod 'Armchair'
pod 'Down'
pod 'FontBlaster'
pod 'GoogleSignIn'
pod 'Hue'
pod 'MenuItemKit'
pod 'R.swift'
pod 'Shimmer'
pod 'SwiftAudio'
pod 'SwiftEntryKit'
pod 'SwiftMessages'
pod 'SwiftDate'
pod 'Texture', :git => 'https://github.com/TextureGroup/Texture.git', :branch => 'master'
pod 'Zip'
pod 'Wormholy', :configurations => ['Debug']
end
target 'WidgetExtension' do
pod 'Hue'
end
def fix_config(config)
# https://github.com/CocoaPods/CocoaPods/issues/8891
if config.build_settings['DEVELOPMENT_TEAM'].nil?
config.build_settings['DEVELOPMENT_TEAM'] = 'XVGX5G4YQ9'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
fix_config(config)
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.1'
end
if target.name == 'Armchair'
target.build_configurations.each do |config|
if config.name == 'Debug'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DDebug'
else
config.build_settings['OTHER_SWIFT_FLAGS'] = ''
end
end
end
if target.name == 'PSPDFKit'
target.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
end
end
end
end
target 'SnapshotUITests' do
pod 'SimulatorStatusMagic', :configurations => ['Debug']
end