Skip to content

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

@rafaelstalder

Description

@rafaelstalder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions