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
Copy link
Contributor

The cherry pick to stable is here #158125

@itsjustkevin
Copy link
Contributor

@LouiseHsu this cherry-pick request has failing tests.

@LouiseHsu
Copy link
Contributor

@LouiseHsu this cherry-pick request has failing tests.

i think its getting blocked by this #158120

@eyebrowsoffire eyebrowsoffire added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 12, 2024
@auto-submit auto-submit bot merged commit 72ccdd2 into flutter:flutter-3.27-candidate.0 Nov 12, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
…from copying `Flutter.xcframework.dSYM` into the `App.framework` folder. (flutter/flutter#158131)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
…from copying `Flutter.xcframework.dSYM` into the `App.framework` folder. (flutter/flutter#158131)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

5 participants