inperson-sdk-ios icon indicating copy to clipboard operation
inperson-sdk-ios copied to clipboard

Duplicate symbol __Z13iOSDeviceNamev for architecture armv7 in libAnetEMVLibrary.a

Open TonyC5 opened this issue 5 years ago • 0 comments

I'm attempting to use the iOS libAnetEMVLibrary.a archive in a Visual Studio Xamarin iOS project. After experiencing an '+[NSString stringWithXMLTag:andValue:]: unrecognized selector' exception, I found a suggestion to add the 'ObjC' linker argument to my Visual Studio 'additional mtouch arguments.'

Unfortunately, after adding the ObjC linker argument for my Visual Studio Xamarin build, I get an error indicating a duplicate symbol __Z13iOSDeviceNamev for architecture armv7. Using 'nm libAnetEMVLibrary.a' I have confirmed that the symbol is defined twice. I can't use -dead_strip because the dead_strip linker argument breaks other aspects of my build.

Is the duplicate definition of symbol __Z13iOSDeviceNamev intentional? Would it be possible for you to fix this duplicate symbol and release a new version of the library?

TonyC5 avatar Nov 01 '19 14:11 TonyC5