Skip to content

Expected Swift 6.1 but found Swift 6.2 from AG/update.sh #912

@devahmedshendy

Description

@devahmedshendy

I am trying to run ./Scripts/CI/darwin_setup_build.sh to try library before learning the source code.

After several tries, I could successfully solve many issues, except it confuses me does it need Swift 6.2 or Swift 6.1, Because I have to install Xcode 26.3 to provide Swift 6.2 for previous error (error: 'darwinprivateframeworks': package 'darwinprivateframeworks' is using Swift tools version 6.2.0 but the installed version is 6.1.0) but now it needs 6.1 for this step:

Error: expected Swift 6.1 but found Swift 6.2
Set DEVELOPER_DIR to the correct Xcode version
Error: failed to regenerate AttributeGraph Swift interface for release 2021
error: CommandFailedError(command: "AG/update.sh", status: 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: graphViewGraph, AttributeGraph, graph hosts, and graph internals.area: toolingDeveloper tooling, package manifests, Tuist, scripts, formatting, or release tooling.type: bugSomething is not working correctly.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions