This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
/
Podfile
97 lines (77 loc) · 2.3 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
ENV["COCOAPODS_DISABLE_STATS"] = "true"
INCLUDE_DEV_TOOLING = ENV["EXCLUDE_DEV_TOOLING"] != '1'
source 'https://cdn.cocoapods.org/'
inhibit_all_warnings!
use_frameworks!
platform :ios, '13.0'
# Dependencies are locked till the patch version as an extra
# precaution against unwanted updates of the 3rd party libraries
def shared_pods
pod 'Katana', '= 6.0.0'
pod 'Tempura', '= 7.0.1'
pod 'Logging', '= 1.2.0'
pod 'HydraAsync', '= 2.0.6'
end
target 'Immuni' do
pod 'BonMot', '= 6.0.0'
pod 'lottie-ios', '= 3.1.8'
pod 'PinLayout', '= 1.8.13'
pod 'ZIPFoundation', '= 0.9.11'
pod 'DropDown'
shared_pods
target 'Immuni Tests' do
inherit! :search_paths
end
target 'Immuni UITests' do
inherit! :search_paths
pod 'TempuraTesting', '= 9.0.3'
end
end
target 'Extensions' do
shared_pods
end
target 'ImmuniExposureNotification' do
shared_pods
end
target 'Models' do
shared_pods
end
target 'Networking' do
shared_pods
end
target 'Persistence' do
shared_pods
end
target 'PushNotification' do
shared_pods
end
target 'StorePersistence' do
shared_pods
end
if INCLUDE_DEV_TOOLING
target 'DebugMenu' do
shared_pods
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Add fstack-protector-all to the project. Note that the
# current implementation is Swift-only and this should not be
# necessary. However, adding it doesn't harm and prevents
# from weakening the app in case of an OBJC / C lib
# or code is added
config.build_settings['OTHER_CFLAGS'] ||= ['$(inherited)']
config.build_settings['OTHER_CFLAGS'] << '-fstack-protector-all'
config.build_settings['OTHER_CPLUSPLUSFLAGS'] ||= ['$(inherited)']
config.build_settings['OTHER_CPLUSPLUSFLAGS'] << '-fstack-protector-all'
# Bitcode must be disabled to allow reproducible builds.
# If we delegate Apple's server to perform some additional
# steps to build the final IPA, then doing a reproducible build
# becomes way harder (or even impossible?)
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['TARGETED_DEVICE_FAMILY'] = 1
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 13.0
end
end
end