)]}'
{
  "commit": "72ccdd21532bfeb772fe6fb5ee893b7d9382a653",
  "tree": "1467b1bd70dcc43026b94d00ef07bc173a6e7e81",
  "parents": [
    "380707fb0e9ee982e98275844be62faf089d2296"
  ],
  "author": {
    "name": "flutteractionsbot",
    "email": "154381524+flutteractionsbot@users.noreply.github.com",
    "time": "Tue Nov 12 13:21:45 2024 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 12 21:21:45 2024 +0000"
  },
  "message": "[CP-beta]Prevent `flutter build ios-framework --xcframework` from copying `Flutter.xcframework.dSYM` into the `App.framework` folder. (#158131)\n\nThis pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)\r\nPlease fill in the form below, and a flutter domain expert will evaluate this cherry pick request.\r\n\r\n### Issue Link:\r\nWhat is the link to the issue this cherry-pick is addressing?\r\n\r\nhttps://github.com/flutter/flutter/issues/157359\r\n\r\n### Changelog Description:\r\nExplain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples\r\n\r\nPrevents `flutter build ios-framework --xcframework` from copying an extraneous Flutter.xcframework.dSYM into the App.framework folder\r\n\r\n### Impact Description:\r\nWhat is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)\r\n\r\nPreviously, `flutter build ios-framework --xcframework` would fail with\r\n`error: Multiple commands produce \u0027......./BuildProductsPath/Release-iphoneos/Flutter.framework.dSYM/Contents\u0027`. \r\n\r\nIs there a workaround for this issue?\r\n\r\nThe workaround is to delete `App.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM`.\r\n\r\n### Risk:\r\nWhat is the risk level of this cherry-pick?\r\n\r\n### Test Coverage:\r\nAre you confident that your fix is well-tested by automated tests?\r\n\r\n### Validation Steps:\r\nWhat are the steps to validate that this fix works?\r\n\r\nTry to build any example app with `flutter build ios-framework --xcframework`, then inspect the App.framework folder. It should only include  `App.framework.dSYM`, and not `Flutter.xcframework.dSYM `",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fc9c07f32f76a5c0a8f8097032d6b104c1115ebf",
      "old_mode": 33188,
      "old_path": "dev/devicelab/bin/tasks/build_ios_framework_module_test.dart",
      "new_id": "af6c85e8cf1fcbe38e21c1ee9fb5ab78e42ef3aa",
      "new_mode": 33188,
      "new_path": "dev/devicelab/bin/tasks/build_ios_framework_module_test.dart"
    },
    {
      "type": "modify",
      "old_id": "fd6589397baef462034974913bc962024362d219",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/commands/build_ios_framework.dart",
      "new_id": "27fe92c894f6b786d4b8968f7b388942367d3a39",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/commands/build_ios_framework.dart"
    },
    {
      "type": "modify",
      "old_id": "605e1dff7e2b545e46db69adcf2c76b8811c90ae",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/commands.shard/hermetic/build_darwin_framework_test.dart",
      "new_id": "1ee8e0a073f41ad6d027406f35c356012c4a25ae",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/commands.shard/hermetic/build_darwin_framework_test.dart"
    }
  ]
}
