Cause Analysis#
The display of 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
Where 367f9ea16b is the version number
2. Based on the version number, find the engine version number
Open
https://github.com/flutter/flutter/blob/版本号/bin/internal/engine.version
Check the content
9064459a8b0dcd32877107f6002cc429a71659d1
3. Download dsym file based on the engine version number
https://storage.cloud.google.com/flutter_infra_release/flutter/ 版本号 /ios-release/Flutter.dSYM.zip
4. Upload to sentry
sentry-cli debug-files upload --auth-token token \
--include-sources \
--org zohar \
--project flutter \
PATH_TO_DSYMS