Duplicate symbol found

133 Views Asked by At

I have just imported MailCore2 into my project and I have followed all the steps that they have stated, but I am still getting an issue.

duplicate symbol _hmac_md5_final in:

XYZ/Debug-iphonesimulator/libetpan-ios.a(md5.o)
ABC/libs/libsmbclient.a(hmacmd5.o) 

duplicate symbol _hmac_md5 in:

XYZ/Debug-iphonesimulator/libetpan-ios.a(md5.o)
ABC/libs/libsmbclient.a(hmacmd5.o) ld: 2 duplicate symbols for architecture x86_64

From what I can understand, _hmac_md5 and _hmac_md5_final appear in both of the files libetpan-ios.a * libsmbclient.a. In other posts people state that I need to remove one of the links or rename. I am using KxSMB and MailCore2 so I have no idea how to do any of these.

I have tried methods in other posts as much as I can follow them but:

  • I don't understand where I need to go.
  • I try them but end up getting far more errors.
0

There are 0 best solutions below