)]}'
{
  "commit": "07c16eb944b5adbec9c970db92157bcf9bf56d54",
  "tree": "33955223f612da27a22d3865993a5cd22de1d2a9",
  "parents": [
    "249f25a74ed94266db57b2efaf47b9ba729ae91d"
  ],
  "author": {
    "name": "Victoria Ashworth",
    "email": "15619084+vashworth@users.noreply.github.com",
    "time": "Thu Apr 02 14:41:45 2026 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Apr 02 19:41:45 2026 +0000"
  },
  "message": "Add plugin version to SwiftPM package symlink directory (#183668)\n\nSwiftPM caches package\u0027s Package.swift manifest in\n`$HOME/Library/Caches/org.swift.swiftpm/manifests`. Due to this caching,\nwhen pub changes versions, SwiftPM doesn\u0027t always detect the\nPackage.manifest has changed.\n\nThis PR changes the symlink directory to use the plugin\u0027s directory\nbasename, which has the version in it:\n\n```diff\n- .packages/plugin_a -\u003e /$HOME/.pub-cache/hosted/pub.dev/plugin_a-1.0.0/ios/plugin_a\n+ .packages/plugin_a-1.0.0 -\u003e /$HOME/.pub-cache/hosted/pub.dev/plugin_a-1.0.0/ios/plugin_a\n```\n\nThis forces Xcode to re-cache the manifest.\n\nThis also refactors a few places we fetch plugins by saving them to the\nproject rather than re-finding them each time. This is currently limited\nto the `XcodeBasedProject`.\n\nFixes https://github.com/flutter/flutter/issues/182099\nFixes https://github.com/flutter/flutter/issues/183226\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.\n\nIf you need help, consider asking for advice on the #hackers-new channel\non [Discord].\n\n**Note**: The Flutter team is currently trialing the use of [Gemini Code\nAssist for\nGitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).\nComments from the `gemini-code-assist` bot should not be taken as\nauthoritative feedback from the Flutter team. If you find its comments\nuseful you can update your code accordingly, but if you are unsure or\ndisagree with the feedback, please feel free to wait for a Flutter team\nmember\u0027s review for guidance on which automated comments should be\naddressed.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6fd3714da3f07a323631d2f4a5c1aa804c660f99",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/flutter_plugins.dart",
      "new_id": "854bffef2fc0cc8fbcadfa8dddb4688ccd398314",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/flutter_plugins.dart"
    },
    {
      "type": "modify",
      "old_id": "9920b92e57ee4d79cbb69116bfc8c0be1f27bf8d",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/ios/mac.dart",
      "new_id": "76cce955b1cc19e701d1f9fd8121316420ce956f",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/ios/mac.dart"
    },
    {
      "type": "modify",
      "old_id": "53ada63835e0b33dbdd3ede0bd05789c6c8bc88a",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/macos/cocoapod_utils.dart",
      "new_id": "5a676b734d0ec9dbdc6dce831d6076b6d6d33645",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/macos/cocoapod_utils.dart"
    },
    {
      "type": "modify",
      "old_id": "0e147197998485f35b8fc8fce6bacc728cd12814",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/macos/cocoapods.dart",
      "new_id": "7245c7636aae061ebacc046a4739271f9dc7fbda",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/macos/cocoapods.dart"
    },
    {
      "type": "modify",
      "old_id": "1f98d6397d051c4e3859908906043d1fd30a989e",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/macos/swift_package_manager.dart",
      "new_id": "763026bd5e35a68befa974c086d92f0aacc94292",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/macos/swift_package_manager.dart"
    },
    {
      "type": "modify",
      "old_id": "2fa7d309f4d0ee7f9995d19cf970846a4931218e",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/migrations/swift_package_manager_integration_migration.dart",
      "new_id": "56c3b051d4248ee46f2d3884bc9b6c94e51552d5",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/migrations/swift_package_manager_integration_migration.dart"
    },
    {
      "type": "modify",
      "old_id": "921336d0e545772a0bff6de87e618a5b40967922",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/xcode_project.dart",
      "new_id": "6b44132908b415b6ba8e4008a732ec4d58b0af5d",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/xcode_project.dart"
    },
    {
      "type": "modify",
      "old_id": "77ee4bb3e4f5ba94428d3f0cbfbf2965ca2e6f57",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/ios/mac_test.dart",
      "new_id": "a16b28f643e3e6d377cbea3865c52ceeec8350c3",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/ios/mac_test.dart"
    },
    {
      "type": "modify",
      "old_id": "482fa65db12b45e140b127da392581707827dd46",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/macos/swift_package_manager_test.dart",
      "new_id": "782df539fe87b6e680daf784496910a809383a73",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/macos/swift_package_manager_test.dart"
    },
    {
      "type": "modify",
      "old_id": "dcde40981962406cdd533e3bfe4fac2ffc5ba1cf",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/migrations/swift_package_manager_integration_migration_test.dart",
      "new_id": "53a745052f7b41b2d84757ba6abe0ccc3b696c37",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/migrations/swift_package_manager_integration_migration_test.dart"
    }
  ]
}
