Skip to content

[SwiftPM] A resolved file is required when automatic dependency resolution is disabled #185035

Description

@vashworth

In #183747, we introduced some flags to try and speed up xcodebuild commands. However, looks like that fails if there is no Package.resolved yet.

xcodebuild: error: Could not resolve package dependencies:
  a resolved file is required when automatic dependency resolution is disabled and should be placed at
  /Users/vashworth/Development/experiment/flutter/swift_pm_add2app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Pa
  ckage.resolved. Running resolver because requirements have changed.

Activity

  1. added
    platform-iosiOS applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-macosBuilding on or for macOS specifically
    team-iosOwned by iOS platform team
    P1High-priority issues at the top of the work list
    on Apr 14, 2026
  2. github-actions commented on May 11, 2026

    @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.

  3. locked as resolved and limited conversation to collaborators on May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions