-
Notifications
You must be signed in to change notification settings - Fork 6
/
project.yml
285 lines (283 loc) · 7.67 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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
name: OpenHealthCardKit
include:
- path: IntegrationTests/project.yml
relativePaths: false
# Set environment variable to true if have access to the necessary gematik-internal resources
enable: ${GEMATIK_DEVELOPMENT} # <-- do not edit this line
options:
bundleIdPrefix: de.gematik.ti.ohcapp4ios
deploymentTarget:
macOS: 11.0
iOS: 17.0
minimumXcodeGenVersion: 2.3.0
schemes:
AllTests_iOS:
build:
targets:
NFCDemo: all
test:
language: de
region: DE
gatherCoverageData: true
coverageTargets:
- NFCDemo
targets:
- CardReaderProviderApiTests_iOS
- CardReaderAccessTests_iOS
- HealthCardAccessTests_iOS
- HealthCardControlTests_iOS
- NFCCardReaderProviderTests
- NFCDemoTests
AllTests_macOS:
build:
targets:
CardReaderAccess_macOS: test
test:
targets:
- CardReaderProviderApiTests_macOS
- CardReaderAccessTests_macOS
- HealthCardAccessTests_macOS
- HealthCardControlTests_macOS
AllSnapshotTests:
build:
targets:
NFCDemo: all
test:
language: de
region: DE
gatherCoverageData: true
coverageTargets:
- NFCDemo
targets:
- NFCDemoTests
packages:
ASN1Kit:
url: https://github.com/gematik/ASN1Kit
majorVersion: 1.2.0
OpenSSL-Swift:
url: https://github.com/gematik/OpenSSL-Swift
majorVersion: 4.2.0
SnapshotTesting:
url: https://github.com/pointfreeco/swift-snapshot-testing
majorVersion: 1.10.0
AEXML:
url: https://github.com/tadija/AEXML
majorVersion: 4.6.0
StreamReader:
url: https://github.com/hectr/swift-stream-reader/
majorVersion: 0.3.0
Gzip:
url: https://github.com/1024jp/GzipSwift
majorVersion: 6.0.0
SwiftyXMLParser:
url: https://github.com/yahoojapan/SwiftyXMLParser
majorVersion: 5.6.0
settings:
base:
DEVELOPMENT_TEAM: A9FL89PFFL
CODE_SIGN_IDENTITY: ""
SWIFT_VERSION: 5.0
ALWAYS_SEARCH_USER_PATHS: NO
FRAMEWORK_SEARCH_PATHS: "$(inherited)"
BUILD_LIBRARY_FOR_DISTRIBUTION: YES
configs:
Release:
SWIFT_COMPILATION_MODE: wholemodule
Debug:
SWIFT_COMPILATION_MODE: incremental
targets:
NFCDemo:
type: application
platform: iOS
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ${GEM_PRODUCT_BUNDLE_IDENTIFIER}
TARGETED_DEVICE_FAMILY: 1
SWIFT_VERSION: $(inherited)
ALWAYS_SEARCH_USER_PATHS: $(inherited)
CODE_SIGN_ENTITLEMENTS: Sources/NFCDemo/Resources/NFCDemo.entitlements
configFiles:
Debug: Sources/NFCDemo/Resources/debug.xcconfig
Release: Sources/NFCDemo/Resources/release.xcconfig
sources:
- Sources/NFCDemo
scheme:
testTargets:
- NFCDemoTests
gatherCoverageData: false
dependencies:
- target: CardReaderProviderApi_iOS
- target: CardReaderAccess_iOS
- target: NFCCardReaderProvider
- target: Helper_iOS
- package: ASN1Kit
- package: OpenSSL-Swift
- package: Gzip
- package: SwiftyXMLParser
- target: HealthCardAccess_iOS
- target: HealthCardControl_iOS
- sdk: CoreNFC.framework
- sdk: Combine.framework
- sdk: SwiftUI.framework
NFCDemoTests:
type: bundle.unit-test
platform: iOS
info:
path: Tests/NFCDemoTests/Resources/Info.plist
sources:
- path: Tests/NFCDemoTests
excludes:
- "**/__Snapshots__/**"
dependencies:
- target: NFCDemo
- package: SnapshotTesting
CardReaderProviderApi:
type: framework
platform: [iOS,macOS]
sources:
- Sources/CardReaderProviderApi
info:
path: Resources/CardReaderProviderApi_Info.plist
dependencies:
- target: Helper_${platform}
scheme:
testTargets:
- CardReaderProviderApiTests_${platform}
gatherCoverageData: true
CardReaderAccess:
type: framework
platform: [iOS,macOS]
sources:
- Sources/CardReaderAccess
info:
path: Resources/CardReaderAccess_Info.plist
dependencies:
- target: CardReaderProviderApi_${platform}
- target: Helper_${platform}
scheme:
testTargets:
- CardReaderAccessTests_${platform}
gatherCoverageData: true
Helper:
type: framework
platform: [iOS,macOS]
sources:
- Sources/Helper
info:
path: Resources/Helper_Info.plist
scheme:
gatherCoverageData: true
CardReaderProviderApiTests:
type: bundle.unit-test
platform: [macOS,iOS]
info:
path: Resources/CardReaderProviderApiTests_Info.plist
sources:
- Tests/CardReaderProviderApiTests
dependencies:
- target: CardReaderProviderApi_${platform}
- framework: Carthage/Build/Nimble.xcframework
CardReaderAccessTests:
type: bundle.unit-test
platform: [macOS,iOS]
info:
path: Resources/CardReaderAccessTests_Info.plist
sources:
- Tests/CardReaderAccessTests
dependencies:
- target: CardReaderAccess_${platform}
- framework: Carthage/Build/Nimble.xcframework
HealthCardAccess:
type: framework
platform: [macOS,iOS]
info:
path: Resources/HealthCardAccess_Info.plist
sources:
- Sources/HealthCardAccess
dependencies:
- sdk: Combine.framework
- target: CardReaderAccess_${platform}
- target: CardReaderProviderApi_${platform}
- package: ASN1Kit
transitivelyLinkDependencies: true
scheme:
testTargets:
- HealthCardAccessTests_${platform}
gatherCoverageData: true
HealthCardAccessTests:
type: bundle.unit-test
platform: [macOS,iOS]
info:
path: Resources/HealthCardAccessTests_Info.plist
sources:
- path: Tests/HealthCardAccessTests
dependencies:
- target: HealthCardAccess_${platform}
- package: ASN1Kit
- framework: Carthage/Build/Nimble.xcframework
- target: Util_${platform}
HealthCardControl:
type: framework
platform: [iOS,macOS]
info:
path: Resources/HealthCardControl_Info.plist
sources:
- path: Sources/HealthCardControl
dependencies:
- target: HealthCardAccess_${platform}
- target: Helper_${platform}
- package: OpenSSL-Swift
transitivelyLinkDependencies: true
scheme:
testTargets:
- HealthCardControlTests_${platform}
gatherCoverageData: true
HealthCardControlTests:
name: HealthCardControlTests_${platform}
type: bundle.unit-test
platform: [macOS,iOS]
info:
path: Resources/HealthCardControlTests_Info.plist
sources:
- path: Tests/HealthCardControlTests
dependencies:
- target: HealthCardControl_${platform}
- target: Util_${platform}
- framework: Carthage/Build/Nimble.xcframework
- sdk: Combine.framework
NFCCardReaderProvider:
type: framework
platform: iOS
info:
path: Resources/NFCCardReaderProvider_Info.plist
sources:
- Sources/NFCCardReaderProvider
dependencies:
- target: HealthCardAccess_iOS
- target: HealthCardControl_iOS
- target: Helper_iOS
- sdk: CoreNFC.framework
scheme:
testTargets:
- NFCCardReaderProviderTests
gatherCoverageData: true
NFCCardReaderProviderTests:
type: bundle.unit-test
platform: iOS
info:
path: Resources/NFCCardReaderProviderTests_Info.plist
sources:
- Tests/NFCCardReaderProviderTests
dependencies:
- target: NFCCardReaderProvider
- framework: Carthage/Build/Nimble.xcframework
Util:
type: framework
platform: [macOS,iOS]
info:
path: Resources/Util_Info.plist
sources:
- Tests/Util
dependencies:
- sdk: Combine.framework
buildImplicitDependencies: true