Duplicate symbol _x509_free on build ios

I have add paySDK in game,when building IOS target,error occurred.How can I solve it. help me :upside_down_face:

duplicate symbol _x509_free in:
iosinterface/frameworks/paySDK.framework/paySDK
bin/ios/Project/lib/i386/lime-legacy.a(988bb385_x509.o)

I think this might be a part of OpenSSL, or another SSL library. Two parts of the project are both including this, so one of them will have to not include it, I think? I haven’t tried to resolve this problem on iOS a lot, but it’s a problem with statically-linked binaries.

I think I found it, here in project/lib/curl/axTLS from the lime-legacy project:

There may be a way to exclude it here, so that when it links with the paySDK, it’s included and compiles/works

Thank for your reply. I have solved it:grinning:

1 Like