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
/
project.yml
196 lines (178 loc) · 5.46 KB
/
project.yml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
name: Immuni
targetTemplates:
Module:
platform: iOS
type: framework
deploymentTarget: "13.0"
sources:
- Modules/${target_name}
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.immuni.$(SWIFT_MODULE_NAME)
TARGETED_DEVICE_FAMILY: 1
SWIFT_VERSION: 5.2
# 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?)
ENABLE_BITCODE: NO
SUPPORTS_MACCATALYST: NO
# 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
OTHER_CFLAGS: "$(inherited) -fstack-protector-all"
OTHER_CPLUSPLUSFLAGS: "$(inherited) -fstack-protector-all"
options:
developmentLanguage: "en-GB"
packages:
SwiftDGC:
url: https://github.com/immuni-app/immuni-dcc-core-ios.git
branch: feature/immuni-dgc
targets:
Immuni:
platform: iOS
type: application
deploymentTarget: "13.0"
sources:
- path: App
dependencies:
- target: ImmuniExposureNotification
- target: Extensions
- target: Models
- target: Networking
- target: Persistence
- target: PushNotification
- target: StorePersistence
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: it.ministerodellasalute.immuni
SWIFT_VERSION: 5.2
CODE_SIGN_STYLE: Manual
DEVELOPMENT_TEAM: NFBYJRA8B5
# 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?)
ENABLE_BITCODE: NO
TARGETED_DEVICE_FAMILY: 1
# 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
OTHER_CFLAGS: "$(inherited) -fstack-protector-all"
OTHER_CPLUSPLUSFLAGS: "$(inherited) -fstack-protector-all"
configs:
Debug:
CODE_SIGN_ENTITLEMENTS: App/Resources/Entitlements/Development.entitlements
CODE_SIGN_IDENTITY: iPhone Developer
DEVELOPMENT_TEAM: NFBYJRA8B5
PROVISIONING_PROFILE_SPECIFIER: ImmuniBSDevProfile
Release:
CODE_SIGN_ENTITLEMENTS: App/Resources/Entitlements/Production.entitlements
CODE_SIGN_IDENTITY: iPhone Distribution
DEVELOPMENT_TEAM: NFBYJRA8B5
PROVISIONING_PROFILE_SPECIFIER: ImmuniCIProdProfile
info:
path: Immuni.plist
properties:
BGTaskSchedulerPermittedIdentifiers:
[$(PRODUCT_BUNDLE_IDENTIFIER).exposure-notification]
CFBundleName: Immuni
CFBundleDisplayName: Immuni
CFBundleIcons: {}
CFBundleShortVersionString: "2.6.0"
CFBundleVersion: "${BUNDLE_VERSION}"
ENAPIVersion: 1
ENDeveloperRegion: IT
IMAppstoreID: "${APPSTORE_ID}"
ITSAppUsesNonExemptEncryption: false
LSApplicationQueriesSchemes: ["googlegmail"]
LSRequiresIPhoneOS: true
UIAppFonts:
[
EuclidCircularB-Bold.otf,
EuclidCircularB-Medium.otf,
EuclidCircularB-Semibold.otf,
SourceCodePro-Bold.ttf,
]
UIBackgroundModes: [processing]
UILaunchStoryboardName: LaunchScreen
UIRequiredDeviceCapabilities: [armv7, bluetooth-le, telephony]
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
UI_TEST_DIR: $(SOURCE_ROOT)/UITests/Screenshots
UIViewControllerBasedStatusBarAppearance: YES
scheme:
gatherCoverageData: true
testTargets:
- name: Immuni Tests
parallelizable: false
randomExecutionOrder: true
- name: Immuni UITests
parallelizable: false
randomExecutionOrder: true
Immuni Tests:
platform: iOS
type: bundle.unit-test
deploymentTarget: "13.0"
sources:
- AppTests
dependencies:
- target: Immuni
settings:
base:
SWIFT_VERSION: 5.2
Immuni UITests:
platform: iOS
type: bundle.unit-test
deploymentTarget: "13.0"
sources:
- path: UITests
excludes:
- "**/*.py"
- "**/*.png"
dependencies:
- target: Immuni
settings:
base:
SWIFT_VERSION: 5.2
# Modules
Extensions:
templates:
- Module
ImmuniExposureNotification:
templates:
- Module
dependencies:
- target: Extensions
- target: Models
Models:
templates:
- Module
dependencies:
- target: Extensions
Networking:
templates:
- Module
dependencies:
- target: Extensions
- target: Models
- target: ImmuniExposureNotification
- package: SwiftDGC
Persistence:
templates:
- Module
dependencies:
- target: Extensions
PushNotification:
templates:
- Module
dependencies:
- target: Extensions
StorePersistence:
templates:
- Module
dependencies:
- target: Extensions