Skip to content

[code_assets] Fix multi architecture framework naming#185640

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
dcharkes:investigate-framework-name
Apr 28, 2026
Merged

[code_assets] Fix multi architecture framework naming#185640
auto-submit[bot] merged 2 commits into
flutter:masterfrom
dcharkes:investigate-framework-name

Conversation

@dcharkes

Copy link
Copy Markdown
Contributor

Closes: dart-lang/native#3319

The framework renaming was renaming assets of different architectures uniquely, but the renaming should be per architecture because they are combined in a framework.

@github-actions github-actions Bot added tool Affects the "flutter" command-line tool. See also t: labels. a: desktop Running on desktop team-ios Owned by iOS platform team team-macos Owned by the macOS platform team labels Apr 27, 2026
@dcharkes dcharkes added CICD Run CI/CD and removed tool Affects the "flutter" command-line tool. See also t: labels. a: desktop Running on desktop team-ios Owned by iOS platform team team-macos Owned by the macOS platform team labels Apr 27, 2026
@dcharkes dcharkes requested review from bkonyi and liamappelbe April 27, 2026 19:01
@github-actions github-actions Bot added tool Affects the "flutter" command-line tool. See also t: labels. a: desktop Running on desktop team-ios Owned by iOS platform team team-macos Owned by the macOS platform team and removed CICD Run CI/CD labels Apr 27, 2026
@dcharkes dcharkes added the CICD Run CI/CD label Apr 27, 2026
@dcharkes dcharkes marked this pull request as ready for review April 27, 2026 19:43
@dcharkes dcharkes requested review from a team as code owners April 27, 2026 19:43

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the fatAssetTargetLocations function to track asset name conflicts per target architecture using a map, preventing naming collisions across different architectures. New unit tests have been added to verify cross-architecture isolation and conflict resolution within the same architecture. Feedback includes a suggestion to simplify map initialization using the ??= operator, a recommendation to sort assets by ID to ensure deterministic naming results, and the removal of an unused import in the test file.

@dcharkes dcharkes added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 28, 2026
@auto-submit auto-submit Bot added this pull request to the merge queue Apr 28, 2026
Merged via the queue into flutter:master with commit aad90a0 Apr 28, 2026
160 of 161 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: desktop Running on desktop CICD Run CI/CD team-ios Owned by iOS platform team team-macos Owned by the macOS platform team tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[objective_c] Framework are different names for multi-arch apps in Flutter

3 participants