Skip to content

swift-build fails on Xcode 16.2 with "Error decoding response to CreateSessionRequest" #523

Open
@chatwyn

Description

@chatwyn

Describe the bug

When running swift-build as a service on macOS 15.3.1, the service fails to initialize with the following error:

Image

This issue is specific to macOS 15.3.1 — the exact same workflow runs correctly on both macOS 14.5 and macOS 15.4.

Environment

  • macOS version: 15.3.1 (failing), 14.5 & 15.4 (working)

Expected behavior

The service should create a session and proceed with builds as expected.

Actual behavior

Fails with deserialization error on the SESSION_CREATED IPC message.

Additional context

  • This issue seems tied to the serialization logic or Swift versioning between macOS 15.3.1 and others.
  • If helpful, I can provide a minimal repro or logs.

Please let me know if there's anything I can help provide to debug this further. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions