Skip to content

Conversation

@flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Nov 4, 2024

This pull request is created by automatic cherry pick workflow
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

Issue Link:

What is the link to the issue this cherry-pick is addressing?

#157359

Changelog Description:

Explain this cherry pick in one line that is accessible to most Flutter developers. See best practices for examples

Prevents flutter build ios-framework --xcframework from copying an extraneous Flutter.xcframework.dSYM into the App.framework folder

Impact Description:

What 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)

Previously, flutter build ios-framework --xcframework would fail with
error: Multiple commands produce '......./BuildProductsPath/Release-iphoneos/Flutter.framework.dSYM/Contents'.

Is there a workaround for this issue?

The workaround is to delete App.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

Test Coverage:

Are you confident that your fix is well-tested by automated tests?

  • Yes
  • No

Validation Steps:

What are the steps to validate that this fix works?

Try 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

…tter.xcframework.dSYM` into the `App.framework` folder. (flutter#157394)

Fixes flutter#157359

Prevents Flutter.xcframework.dSYM from being copied into the App.framework folder. I am not 100% positive if there are cases where it's valid to have multiple dSYMs in that folder, so I'm just string matching and filtering out `Flutter.xcframework.dSYM`
@flutteractionsbot flutteractionsbot added the cp: review Cherry-picks in the review queue label Nov 4, 2024
@flutteractionsbot
Copy link
Author

@LouiseHsu please fill out the PR description above, afterwards the release team will review this request.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Nov 4, 2024
@LouiseHsu LouiseHsu requested a review from jmagman November 4, 2024 19:39
@LouiseHsu
Copy link
Contributor

The cherry pick to beta is here #158131

@itsjustkevin itsjustkevin added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 5, 2024
@auto-submit auto-submit bot merged commit 8cbe8ec into flutter:flutter-3.24-candidate.0 Nov 5, 2024
104 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Nov 14, 2024
…rk` from copying `Flutter.xcframework.dSYM` into the `App.framework` folder. (flutter/flutter#158125)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Nov 14, 2024
…rk` from copying `Flutter.xcframework.dSYM` into the `App.framework` folder. (flutter/flutter#158125)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App cp: review Cherry-picks in the review queue tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants