-
Notifications
You must be signed in to change notification settings - Fork 47
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
[bug]: flutterfire upload-crashlytics-symbols not working for multi-environment setup #249
Comments
https://github.com/stilus-tayyipguzel/crashlytics sample project |
@stilus-tayyipguzel - I tested this on two different projects. Can I see the relevant build logs, please? i.e. |
@russellwheatley - build-ios.log
|
You also have the correct logs from you build that show symbols were uploaded:
Not sure what is going wrong then 🤔. Seems your dSYMs are uploaded. What does it say in Firebase console when you click on dSYMs tab in Crashlytics? |
hmmmm, I wonder if it is a difference between debug build and release build? When I was testing, I was using release builds via |
@russellwheatley When I ran the project via Xcode after running the command you gave, the dsym files were loaded successfully. |
did you run it in debug or release mode? |
I have never used the flutter build ios command before, I ran it directly via Xcode after the command. It runs in debug mode by default. |
I skipped this step, I dragged and dropped the Runner.app created with the command you gave into the simulator and tried to open it there, but it did not open. |
@stilus-tayyipguzel Does this mean the upload worked when you built your app through Xcode and not via I am glad it worked for you eventually, just not quite sure why it didn't happen when you built the app via the terminal particularly as your logs show successful upload of symbols. |
@russellwheatley I have a question, what exactly should I do after running the |
@russellwheatley I repeated my previous steps and first ran it in debug mode via vscode. I ran it in debug mode from xcode. Dsym files are not loading at all in my current try. I'm trying by creating a new flutter project and firebase project. You said you tested 2 projects. What steps do you follow when running it? |
You need to |
|
@russellwheatley I encountered the same problem, which seems to be related to the use of flavors. When I turn off the flavors, the uploaded symbols display the correct version and the stacktraces are deobfuscated. |
I've also encountered the same issue when using flavors as @RCVZ. I've tried building the app on 2 different devices but still no luck. |
Same here. Flavors break it for some reason :( |
Hey folks,I will look into this but could you tell me about your environments? E.g. are you using the predefined build configurations on flutter or do you have something custom like VGV CLI? |
I'm using the predefined build configurations as following:
|
I was able to reproduce, I have created a repo which demonstrates the problem here: https://github.com/russellwheatley/crashlytics-symbols Going to elevate this issue as I don't see what is different to the way we handle the default app configuration. I'll let you know if I have any updates 🙏 |
@russellwheatley i dont use multi environment. It happens debug mode and when i increase version and create new ipa. I dont understand if it is related to the error I mentioned. |
Is there an existing issue for this?
CLI Version
0.3.0-dev.19
Firebase Tools version
13.0.2
Flutter Doctor Output
fvm flutter doctor -v
[✓] Flutter (Channel stable, 3.13.6, on macOS 13.3.1 22E261 darwin-arm64, locale en-TR)
• Flutter version 3.13.6 on channel stable at /Users/tayyipguzel/fvm/versions/3.13.6
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ead455963c (3 months ago), 2023-09-26 18:28:17 -0700
• Engine revision a794cf2681
• Dart version 3.1.3
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/tayyipguzel/Library/Android/sdk
• Platform android-34, build-tools 33.0.2
• ANDROID_HOME = /Users/tayyipguzel/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.13.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.85.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.78.0
[✓] Connected device (3 available)
• sdk gphone arm64 (mobile) • emulator-5554 • android-arm64 • Android 11 (API 30) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.3.1 22E261 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.109
[✓] Network resources
• All expected network resources are available.
• No issues found!
Description
I create a new project in flutter version 3.13.6, run the flutterfire configure command and make the necessary installations. Missing dsym files issue seen in firebase. When I check Xcode, I can see the FlutterFire: "flutterfire upload-crashlytics-symbols" script.
Steps to reproduce
create new flutter project 3.13.6
run flutterfire configure
dsym files not uploaded
Expected behavior
dsym files should be loaded successfully.
Screenshots
Additional context and comments
Android is running successfully.
The text was updated successfully, but these errors were encountered: