Skip to content

Output of swift format --version is confusing #834

Open
@jkmathew

Description

@jkmathew

I am using Xcode 16 which comes with a bundled swift format. When I run swift format --version, it prints main.
Does this mean the swift format bundled with Xcode will always be updated with the latest main branch? Or the bundled version is the latest from the main branch at the time of Xcode release is created?

I tried installing swift-format with homebrew and swift-format --version prints the version correctly.

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