Skip to content

Fix Linux watchOS linking, setup races, and CLI failure output - #366

Merged
hyzyla merged 1 commit into
mainfrom
fix/linux-setup-watch-links-cli-output
Nov 22, 2026
Merged

hyzyla merged 1 commit into
mainfrom
fix/linux-setup-watch-links-cli-output

Conversation

@hyzyla

@hyzyla hyzyla commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Fix watchOS Simulator links for dynamic SwiftPM frameworks by letting Swift Build select the linker flag for each compiler driver. Add a watchOS test project and check its framework and XCTest Mach-O binaries in the opt-in private-SDK Linux package job.
  • Create owner-only cache directories under umask 0002, including when the build-settings catalog writes first. Verify bundled hot-reload client bytes before reuse.
  • Write one-shot JSON errors to stdout so redirection captures both outcomes. Failed test runs return exit 3 and include the same error and available test report in JSON and the final NDJSON event. NDJSON retains its compact stderr diagnostic.
  • Serialize Swift installation and archive access across setup processes. Verify the compiler in staging before publishing the installation.

Verification

The macOS CLI and shared-library suites passed 1,802 tests with one ignored. Clippy and formatting passed. In the arm64 Linux VM, the packaged CLI built an iOS device app and linked the watchOS Simulator dynamic framework and XCTest bundle using an imported Apple SDK. Two concurrent setup processes shared one download, and a waiting process recovered when the downloader was interrupted.

@hyzyla
hyzyla merged commit ac276a3 into main Nov 22, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant