Build fails after updating Plugin.FirebasePushNotifications to 3.0.17

nandu kathmandi 11 Reputation points
2025-01-16T08:29:21.48+00:00

After updating Plugin.FirebasePushNotifications to version 3.0.17, my iOS build fails with Undefined symbols for architecture x86_64 errors related to FirebaseAnalytics. I need guidance on resolving this and identifying the correct NuGet packages for Firebase Analytics compatibility.

Steps to Reproduce:

Update Plugin.FirebasePushNotifications from 2.5.13 to 3.0.17. Retain Xamarin.Firebase.iOS.Analytics version 8.10.0.1. Build the project targeting iOS. Observe the build failure.

Expected Behavior: The project should build successfully without errors.

Actual Behavior: The build fails with errors like:

Undefined symbols for architecture x86_64: "_APMAnalyticsConfiguration", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics...

Environment Details:

OS: macOS Sonoma 14.6.1
IDE: Visual Studio 2022 (latest version)
Target Frameworks: .NET MAUI
NuGet Packages:
Plugin.FirebasePushNotifications: 3.0.17
Xamarin.Firebase.iOS.Analytics: 8.10.0.1

Additional Context: The project worked fine with version 2.5.13 of Plugin.FirebasePushNotifications. The errors started after upgrading to version 3.0.17. I suspect compatibility issues between Plugin.FirebasePushNotifications and Xamarin.Firebase.iOS.Analytics

Thanks in Advance!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,031 Reputation points Microsoft Vendor
    2025-01-17T06:31:23.1233333+00:00

    Hello,

    Xamarin.Firebase.iOS.Analytics has ended their support.

    After searching the issue, I found it's a native SDK issue and has been fixed, please check the GitHub link of firebase-ios-sdk- https://github.com/firebase/firebase-ios-sdk/issues/13468

    Besides, Plugin.FirebasePushNotifications is a third-party tool and not supported on Q&A. Also, I noticed that you have reported this issue at their GitHub- [Bug] Build fails after updating Plugin.FirebasePushNotifications to 3.0.17 · Issue #105 · thomasgalliker/Plugin.FirebasePushNotifications

    It works after you updated the latest package.

    I summarized this solution as an answer so that someone with the same issue can refer to it. Thanks for your sharing

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.