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 analytics symbols not loading in IOS proj #21817

Open
jfversluis opened this issue Dec 17, 2024 · 8 comments
Open

Firebase analytics symbols not loading in IOS proj #21817

jfversluis opened this issue Dec 17, 2024 · 8 comments
Labels
need-attention An issue requires our attention/response
Milestone

Comments

@jfversluis
Copy link
Member


Issue moved from dotnet/maui#26660


From @sasupallisantosh on Tuesday, December 17, 2024 2:34:11 AM

Previously, I encountered a build issue with the MAUI iOS application due to the plugin.firebase (dotnet/maui#26455) After resolving the issue, the build was successful. However, when I connected to a Mac and ran the iOS application on a simulator, I received the following error:
clang++ exited with code 1: Undefined symbols for architecture arm64: "_APMAnalyticsConfiguration", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMAppMeasurementOriginFirebase", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMConsentSettings3P", referenced from: +[FIRAnalytics setConsent:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMFormattedEventName", referenced from: +[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMFormattedUserPropertyName", referenced from: +[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMIsAnalyticsCollectionDeactivated", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMIsAnalyticsCollectionEnabled", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMMonitorLogTagOptionKey", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMUserDataFieldEmailAddress", referenced from: +[FIRAnalytics initiateOnDeviceConversionMeasurementWithEmailAddress:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMUserDataFieldHashedEmailAddress", referenced from: +[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedEmailAddress:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMUserDataFieldHashedPhoneNumber", referenced from: +[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o) "_APMUserDataFieldPhoneNumber", referenced from: +[FIRAnalytics initiateOnDeviceConversionMeasurementWithPhoneNumber:] in FirebaseAnalytics[arm64][10](FIRAnalytics.o)

Please help me resolve this issue.

@rolfbjarne
Copy link
Member

Please get an MSBuild binlog that shows the build error, and we can start diagnosing what's going wrong.

@rolfbjarne rolfbjarne added the need-info Waiting for more information before the bug can be investigated label Dec 18, 2024
@rolfbjarne rolfbjarne added this to the Future milestone Dec 18, 2024
@sasupallisantosh
Copy link

Hi @rolfbjarne ,
Without a Mac connection, the build was successful. However, when we connected a Mac and tried to build or run, we encountered an error. I tried building it using the command line, and it showed the build as successful. I will attach the MSBuild file and paste the link below for my sample project, which reproduces the same error.

msbuild.zip

Git Pub Repo: https://github.com/sasupallisantosh/PushTest.git

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Dec 19, 2024
@rolfbjarne
Copy link
Member

However, when we connected a Mac and tried to build or run, we encountered an error.

Can you get an MSBuild binlog for this failure as well? The link explains how to get a binlog for a build from within Visual Studio.

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated no-auto-reply For internal use and removed need-attention An issue requires our attention/response labels Dec 19, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-auto-reply For internal use label Dec 19, 2024
@sasupallisantosh
Copy link

I have mentioned in previous comment msbuild info file,
https://github.com/user-attachments/files/18191277/msbuild.zip

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Dec 19, 2024
@rolfbjarne
Copy link
Member

I have mentioned in previous comment msbuild info file, user-attachments/files/18191277/msbuild.zip

That binlog shows a successful build, not a failing build.

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated no-auto-reply For internal use and removed need-attention An issue requires our attention/response labels Dec 19, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-auto-reply For internal use label Dec 19, 2024
@sasupallisantosh
Copy link

Yes, @rolfbjarne , the build was successful. I tried building it using the command line, and it showed the build as successful and generated the MSBuild file successfully. However, when we connected a Mac and tried to run it, the error occurred.

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Dec 19, 2024
@rolfbjarne
Copy link
Member

Yes, @rolfbjarne , the build was successful. I tried building it using the command line, and it showed the build as successful and generated the MSBuild file successfully. However, when we connected a Mac and tried to run it, the error occurred.

If you're referring to this error: dotnet/maui#26660, then that's a build error, and it will show up in the binlogs created by Visual Studio (if you enable binlog creation in Visual Studio as explained here: https://github.com/xamarin/xamarin-macios/wiki/Diagnosis#visual-studio-for-windows).

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated no-auto-reply For internal use and removed need-attention An issue requires our attention/response labels Dec 20, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-auto-reply For internal use label Dec 20, 2024
@sasupallisantosh
Copy link

sasupallisantosh commented Dec 20, 2024 via email

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-attention An issue requires our attention/response
Projects
None yet
Development

No branches or pull requests

3 participants