You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
[CP-stable][iOS] Bundle dSYM packages in Flutter.xcframework (#54513)
This 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)
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?
flutter/flutter#116493
Note this includes two PRs:
#54414#54458
### Changelog Description:
Bundle iOS framework debugging symbols (`Flutter.framework.dSYM`) in `Flutter.xcframework` in iOS release builds. This eliminates the need for manual download/bundling of Flutter debug symbols for release build crash log symbolication. As of Xcode 16, these symbols are required to be bundled with App Store archives.
### Impact Description:
Without these bundled symbols, iOS App Store validation fails for Flutter apps under Xcode 16.
### Workaround:
Is there a workaround for this issue?
Users can follow the steps described in [docs/Crashes.md](https://github.com/flutter/engine/blob/main/docs/Crashes.md) to manually locate the engine SHA used in their Flutter app, download the Flutter.dSYM archive, and manually copy it into their app archive prior to App Store validation. This is very manual process with room for a lot of error. This process is not at all obvious or well-documented.
### Risk:
What is the risk level of this cherry-pick?
In the case where dSYM extraction fails, we'll know immediately since the build will fail. dSYMs can be verified using the steps below.
### Test Coverage:
Are you confident that your fix is well-tested by automated tests?
In this case the build itself will fail if dSYM extraction fails. Testing of bundling is covered in framework tool tests.
### Validation Steps:
What are the steps to validate that this fix works?
`artifacts.zip` can be checked at any commit on or after `c11fe483947c95553610ab59210af643f031f5f4`. For example https://storage.googleapis.com/flutter_infra_release/flutter/c11fe483947c95553610ab59210af643f031f5f4/ios-release/artifacts.zip
Verify that Flutter.xcframework in this archive contains `ios-arm64/dSYMs/Flutter.framework.dSYM`.
0 commit comments