Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firebase_crashlytics] 此应用有 1 个崩溃问题未处理。请上传 1 个 dSYM 文件以处理崩溃问题。 #12782

Closed
1 task done
giantss opened this issue May 15, 2024 · 1 comment
Labels
platform: ios Issues / PRs which are specifically for iOS. plugin: crashlytics resolution: invalid This doesn't seem right and might not belong here. type: bug Something isn't working

Comments

@giantss
Copy link

giantss commented May 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Crashlytics

Which platforms are affected?

iOS

Description

expected: ios error reports can now be transmitted to Crashlytics.

actually:
image

Reproducing the issue

Official document steps

Firebase Core version

2.31.0

Flutter Version

3.19.5

Relevant Log Output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] Connected device (4 available)  
[✓] Network resources
• No issues found!

Additional context and comments

I tried to find this clue and found the location of the FlutterFire: "flutterfire upload-crashlytics-symbols" script in xcode. The content inside is as follows:


#!/bin/bash
PATH=${PATH}:$FLUTTER_ROOT/bin:$HOME/.pub-cache/bin
flutterfire upload-crashlytics-symbols --upload-symbols-script-path=$PODS_ROOT/FirebaseCrashlytics/upload-symbols --platform=ios --apple-project-path=${SRCROOT} --env-platform-name=${PLATFORM_NAME} --env-configuration=${CONFIGURATION} --env-project-dir=${PROJECT_DIR} --env-built-products-dir=${BUILT_PRODUCTS_DIR} --env-dwarf-dsym-folder-path=${DWARF_DSYM_FOLDER_PATH} --env-dwarf-dsym-file-name=${DWARF_DSYM_FILE_NAME} --env-infoplist-path=${INFOPLIST_PATH} --default-config=default

I don't know if there is a problem with the content in this script, because the plug-in is automatically added when I add it.

I also uploaded the dSYM file in the Crashlytics backend.
Using this method, I obtained the dsym file and uploaded it. After a while, it still had no effect.

I don't know how to solve this problem now. Has anyone else encountered the same problem?

@giantss giantss added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels May 15, 2024
@russellwheatley
Copy link
Member

Hey @giantss - The uploading symbols script is generated by FlutterFire CLI. You might want to update to the latest FlutterFire CLI version by running first:

dart pub global activate flutterfire_cli

and configuring app again, debug symbols should be uploaded. If the problem persists, please file an issue on that repository: https://github.com/invertase/flutterfire_cli 🙏

@russellwheatley russellwheatley added resolution: invalid This doesn't seem right and might not belong here. plugin: crashlytics platform: ios Issues / PRs which are specifically for iOS. and removed Needs Attention This issue needs maintainer attention. labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: ios Issues / PRs which are specifically for iOS. plugin: crashlytics resolution: invalid This doesn't seem right and might not belong here. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants