marcojak / MauiMTAdmob

MIT License
114 stars 18 forks source link

Microsoft stop supporting Firebase.iOS #89

Open MateuszKapusta opened 3 months ago

MateuszKapusta commented 3 months ago

Microsoft stop supporting Firebase.iOS (https://github.com/dotnet/maui/discussions/20359) and now best option is to use (https://github.com/AdamEssenmacher/GoogleApisForiOSComponents).

MauiMTAdmob uses Xamarin.Firebase.iOS.Core 8.10.0.3, so would you consider to update it to AdamE.Firebase.iOS.Core 10.24.0.2 in the future?

I got this error and only fix for now is to install original Xamarin.Firebase.iOS libraries.

[error]/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): Error : clang++ exited with code 1:

Undefined symbols for architecture x86_64: "_APMAnalyticsConfiguration", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMAppMeasurementOriginFirebase", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMConsentSettings3P", referenced from: +[FIRAnalytics setConsent:] in FirebaseAnalytics(FIRAnalytics.o) "_APMFormattedEventName", referenced from: +[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics(FIRAnalytics.o) "_APMFormattedUserPropertyName", referenced from: +[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics(FIRAnalytics.o) "_APMIsAnalyticsCollectionDeactivated", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMIsAnalyticsCollectionEnabled", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMMonitorLogTagOptionKey", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMSafelistedEventsOptionKey", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_OBJCCLASS$_APMAdExposureReporter", referenced from: _OBJCCLASS$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter.o) "_OBJCCLASS$_APMAnalytics", referenced from: objc-class-ref in FirebaseAnalytics(FIRAnalytics.o) "_OBJCCLASS$_APMConditionalUserProperty", referenced from: _OBJCCLASS$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty.o)

marcojak commented 3 months ago

Yes, as this seems the most promising package to replace the deprecated libraries, I'll test everything and then if everything works fine I'll switch to it.

On Wed, 7 Aug 2024, 14:11 Mateusz Kapusta, @.***> wrote:

Microsoft stop supporting Firebase.iOS (dotnet/maui#20359 https://github.com/dotnet/maui/discussions/20359) and now best option is to use (https://github.com/AdamEssenmacher/GoogleApisForiOSComponents).

MauiMTAdmob uses Xamarin.Firebase.iOS.Core 8.10.0.3, so would you consider to update it to AdamE.Firebase.iOS.Core 10.24.0.2 in the future?

I got this error and only fix for now is to install original Xamarin.Firebase.iOS libraries.

[error]/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3):

Error : clang++ exited with code 1: Undefined symbols for architecture x86_64: "_APMAnalyticsConfiguration", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMAppMeasurementOriginFirebase", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMConsentSettings3P", referenced from: +[FIRAnalytics setConsent:] in FirebaseAnalytics(FIRAnalytics.o) "_APMFormattedEventName", referenced from: +[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics(FIRAnalytics.o) "_APMFormattedUserPropertyName", referenced from: +[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics(FIRAnalytics.o) "_APMIsAnalyticsCollectionDeactivated", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMIsAnalyticsCollectionEnabled", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMMonitorLogTagOptionKey", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMSafelistedEventsOptionKey", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "OBJC_CLASS$_APMAdExposureReporter", referenced from: OBJC_CLASS$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter.o) "OBJC_CLASS$_APMAnalytics", referenced from: objc-class-ref in FirebaseAnalytics(FIRAnalytics.o) "OBJC_CLASS$_APMConditionalUserProperty", referenced from: OBJC_CLASS$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty.o)

— Reply to this email directly, view it on GitHub https://github.com/marcojak/MauiMTAdmob/issues/89, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUIPIQ5266PHI4WVYOBZBDZQIMGNAVCNFSM6AAAAABMEMN242VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TGNBVGEZTENA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MateuszKapusta commented 2 months ago

Can you tell me how long this might take?