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

Add "Smart Link" flag to avoid "Error MT5213: Duplicate symbol" #12

Open
rafaelstalder opened this issue Apr 21, 2020 · 0 comments
Open

Comments

@rafaelstalder
Copy link

Hi

My Xamarin.iOS debug and release builds are failing with MTOUCH : Error MT5213: Duplicate symbol in: …mtouch-cache/WebP.a(libwebpdecode_la-buffer_dec.o) (Location related to previous error) (MT5213)... and many more of these.

This error started happening recently as I added a native library which uses libwebp and now causes conflicts with the latest Xamarin.FFImageLoading.Svg.Forms nuget package which bases on the WebP.Touch nuget package.

I already did these steps:

  1. Adding --registrar:static
  2. Asked the maintainer of the other library to add the Smart Link flag to all of it's native references.

Now I ask you to add the Smart Link flag also to all of your native references.

Please let me know if you need more information.

Best regards,
Rafael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant