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

Please fix "Could not AOT the assembly: Google.ZXing.Core.dll" #5994

Closed
Tommigun1980 opened this issue Jun 4, 2021 · 1 comment
Closed
Assignees
Labels
Area: App+Library Build Issues when building Library projects or Application projects.

Comments

@Tommigun1980
Copy link

Hi.

I am using the https://www.nuget.org/packages/Xamarin.Facebook.Android package and it pulls in Google.ZXing.Core as a dependency. Merely having it in a project prevents AOT + LLVM from working, as the build fails while deploying to device with the error: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1961,3): error XA3001: Could not AOT the assembly: Google.ZXing.Core.dll.

This is a duplicate of #5779, but as it prevents one from using AOT + LLVM if Facebook is used it is pretty much a showstopper for me, and there doesn't seem to be any action in said issue report. This report is an attempt to draw attention to that report, so please close this issue and either provide a workaround or a fix in #5779. Any kind of communication would be greatly appreciated.

Thank you.

@Tommigun1980 Tommigun1980 added Area: App+Library Build Issues when building Library projects or Application projects. needs-triage Issues that need to be assigned. labels Jun 4, 2021
@dellis1972
Copy link
Contributor

This is likely a duplicate of #5964 or #5764.

The former (#5964) has a fix via #5979 which we are hoping will go out in the next d16.10 Service Release.

The latter #5764 see that in that case the Assembly being AOT'd has invalid IL in it which is breaking the compiler. See #5764 (comment). As yet we don't know what to do about that one.

I am going to close this issue as a duplicate since we are tracking all the bug reports on #5964 or #5764.

@dellis1972 dellis1972 removed the needs-triage Issues that need to be assigned. label Jun 4, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: App+Library Build Issues when building Library projects or Application projects.
Projects
None yet
Development

No branches or pull requests

3 participants