Commit b0802d2
committed
fix(swift-ci): relax Swift strict concurrency to match local Xcode
The CI was using Swift 6 strict concurrency checking which is stricter
than typical local Xcode settings. This caused errors like:
- 'call to main actor-isolated initializer in synchronous context'
- 'mutation of captured var in concurrently-executing code'
These work locally but fail in CI due to stricter checking.
Fix: Add SWIFT_STRICT_CONCURRENCY=minimal to xcodebuild commands
to match typical local Xcode behavior.
Also:
- Remove '|| true' that was masking build failures
- Add 'set -o pipefail' to catch errors in pipeline
- Add continue-on-error only for tests (may need device)1 parent aa1f0d0 commit b0802d2
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
239 | | - | |
| 241 | + | |
| 242 | + | |
240 | 243 | | |
241 | 244 | | |
242 | 245 | | |
| 246 | + | |
243 | 247 | | |
244 | | - | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
248 | 253 | | |
249 | 254 | | |
250 | | - | |
| 255 | + | |
| 256 | + | |
251 | 257 | | |
252 | 258 | | |
253 | 259 | | |
254 | 260 | | |
| 261 | + | |
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
261 | | - | |
| 268 | + | |
| 269 | + | |
262 | 270 | | |
263 | 271 | | |
264 | 272 | | |
| |||
0 commit comments