Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/packages
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0f2eeae
Choose a base ref
...
head repository: flutter/packages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a9d36fb
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Mar 16, 2026

  1. [tool] Fix fetch-deps handling of SwiftPM (#11261)

    #11258 did not work correctly to
    disable CocoaPods (i.e., to fix the tree breakage on `stable`) because
    it only added the config flag around the `flutter build`. When caching
    Dart deps as well, the `flutter pub get` call will cause `Podfile` to be
    recreated if SwiftPM support isn't enabled, and once it's present,
    `build` will try to use CocoaPods even with SwiftPM support enabled,
    because it looks like a project that is still using CocoaPods.
    
    This fixes that by:
    - Applying the override for the entire set of commands, not just
    `build`.
    - Applying the override to the plugin as well as the example, because
    `flutter pub get` on a package automatically sub-runs on the example,
    and it appears that it does so using the config flags of the top-level
    package.
    stuartmorgan-g authored Mar 16, 2026
    Configuration menu
    Copy the full SHA
    88afc68 View commit details
    Browse the repository at this point in the history
  2. [tool] Apply SwiftPM to non-plugin builds too (#11265)

    The `--swift-package-manager` flag for `build-exampes` was incorrectly
    only applying the override to plugin examples; any app build can have
    transitive plugin dependencies, and the flag should cause those to be
    built with Swift Package Manager.
    
    Fixes current tree breakage on `stable`.
    stuartmorgan-g authored Mar 16, 2026
    Configuration menu
    Copy the full SHA
    a9d36fb View commit details
    Browse the repository at this point in the history
Loading