mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
b79bd86017
* fix: remove trailing commas in Swift for Xcode <16.3 compatibility Remove trailing commas from function/initializer argument lists in the iOS XCUITest runner Swift source files. SE-0439 trailing commas in comma-separated lists require Swift 6.1+ (Xcode 16.3+), but the runner is compiled locally by users who may have older Xcode versions. Users with Xcode 16.2 (Swift 6.0.3) encounter build failures: error: unexpected ',' separator This causes the runner to never start, surfacing as: Error (COMMAND_FAILED): Runner did not accept connection (simctl spawn) Files fixed (12 trailing commas removed): - RunnerTests+Snapshot.swift (5) - RunnerTests+Transport.swift (2) - RunnerTests+CommandExecution.swift (1) - RunnerTests+ScreenRecorder.swift (2) - RunnerTests.swift (2) Verified: pnpm build:xcuitest passes (TEST BUILD SUCCEEDED). * ci: guard iOS runner trailing-comma syntax --------- Co-authored-by: Michał Pierzchała <thymikee@gmail.com>