Cause Analysis#
The reason for displaying redacted is due to the lack of symbol table for the Flutter framework source code.
Solution#
- Run
flutter --version
to check the current Flutter version.
Flutter 3.13.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 367f9ea16b (29 hours ago) • 2023-09-12 23:27:53 -0500
Engine • revision 9064459a8b
Tools • Dart 3.1.2 • DevTools 2.25.0
The version number is 367f9ea16b.
2. Based on the version number, find the engine version.
Open
https://github.com/flutter/flutter/blob/版本号/bin/internal/engine.version
and check the content.
9064459a8b0dcd32877107f6002cc429a71659d1
3. Download the dsym file based on the engine version number.
https://storage.cloud.google.com/flutter_infra_release/flutter/版本号/ios-release/Flutter.dSYM.zip
- Upload to Sentry.
sentry-cli debug-files upload --auth-token token \
--include-sources \
--org zohar \
--project flutter \
PATH_TO_DSYMS