-
Notifications
You must be signed in to change notification settings - Fork 164
Firebase Crashlytics doesn't detect any bugs (NET 8) #643
Comments
This is also happening to me, recently updated to .NET 8.0, prior to this it was working. From what I could gather the "__mh_execute_header" needs to be in the Exported Symbols File (or not have the Exported Symbols File included at all in the build settings) in Xcode - I haven't worked out how to do this. Anyone have any ideas? |
I'm seeing this also. Have temporarily reverted to AppCenter for crashes as that is working with Net 8 (Maui app). This is using Xamarin.Firebase.iOS.Crashlytics package. |
Same here, this was working when using Plugin.Firebase.Crashlytics v2.0.5 + .NET 6.0. Due to other constraints like Microsoft basically shooing everyone off .NET 6.0 for MAUI we had to upgrade (BTW .NET 7.0 was a complete utter mess, we had to skip that and go straight to .NET 8.0). Thankfully, as poster above has mentioned, I've got AppCenter and Application Insights integrated that still work. It is a shame, however, the dashboard UI for Firebase is probably the best of the 3. However, by this point of using .NET/MAUI I am completely expecting anything to break at any minute when something is updated, so not really surprised when I tracked it down to an error in the iOS device logs saying Crashlytics wasn't working any more. |
We made our own bindings for Crashlytics using .NET8 and it has the same issue. When the App starts and calling Configure() we get the same message:
|
Here is a workaround: <PropertyGroup>
<_ExportSymbolsExplicitly>false</_ExportSymbolsExplicitly>
</PropertyGroup> Note that it will increase the size of the build (see xamarin/xamarin-macios@e308887). See @rolfbjarne 's explanation in this comment: xamarin/xamarin-macios#19157 (comment) |
Brilliant! I did a quick test, and this seems to work. In my case, the size increase was ~1mb. |
Hey, thanks a lot for this. I can confirm that works for my iOS .NET 8 build too. It's a shame there isn't any .NET stack trace for .NET errors/exceptions with Crashlytics (like there is with AppCenter and Application Insights) but it's worth it to have the Analytics working again. |
@MarkMcCormackSF The Kotlin devs are asking the same question: firebase/firebase-ios-sdk#10030 🙃 |
Thank you ! |
Yep, worked for me too, thanks! |
Hello friends, I'm facing the same issue, however, the workaround did not work for me. I'm using .NET MAUI 8.0.14 - iOS 16.4+
However, it worked on for MacCatalyst, which is strange, on iOS I still keep getting the error:
Do you know of any other workaround or a potential change I need to apply? thanks in advance Note: I also tried by adding |
@vhugogarcia even if you get these to work, it won't help much as the stack traces are pretty useless as it doesn't show any of the managed stack. |
Yes, I still don't have stack traces for iOS, I do have for Android. Typically, the best thing that has managed stack traces for BOTH iOS & Android is being pulled by Microsoft within a year .. you can't make this stuff up, let's get rid of the thing that works really well. "Visual Studio App Center is scheduled for retirement on March 31, 2025" Yeah, thanks for that Microsoft. |
To be honest. This is something Google should be supporting and not Microsoft for this specific library. But they are also a bit tone deaf :) Other vendors like Sentry, Raygun etc. make their own binding libraries with support for net?-android and net?-ios, why shouldn't Firebase not do so and rely on MS to do it? I get it Firebase is nice and has great tooling that spans widely, but this is not a Microsoft responsibility to support. |
I'm currently using the Plugin.Firebase.Crashlytics package to run Crashltytics services on my app, but it doesn't detect any bugs on the dashboard (I'm pointing NET MAUI v8.0.100). According to this comment, it might be an issue in the native firebase crashlytics sdks.
when I use
Plugin.Firebase.Crashlytics
(v2.0.1) andNET Maui
(v7), the dashboard detects the app even if there's no bug reportedIs there any workaround to solve this?
The text was updated successfully, but these errors were encountered: