Skip to content

[SwiftPM] Rename SWIFT_PACKAGE_MANAGER environment variable to FLUTTER_SWIFT_PACKAGE_MANAGER #159121

Closed

Description

@loic-sharma

Background

The Swift Package Manager feature can be turned on by setting the SWIFT_PACKAGE_MANAGER to true.

This environment variable name is a bit generic and might collide with other tooling.

Solution

Add a FLUTTER_ prefix to this environment variable and rename it to FLUTTER_SWIFT_PACKAGE_MANAGER.

However, renaming this would break anyone that's set this environment variable to true. To minimize disruption, I will rename this environment variable in the same release that turns on SwiftPM by default. See: #151567

Activity

  1. added
    platform-iosiOS applications specifically
    platform-macosBuilding on or for macOS specifically
    P3Issues that are less important to the Flutter project
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    on Nov 19, 2024
  2. self-assigned this
    on Nov 19, 2024
  3. github-actions commented on Dec 19, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Dec 19, 2024
  5. added theissue type on Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectplatform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions