两个静态库中的架构armv7的重复符号

时间:2016-02-09 07:20:53

标签: c++ objective-c iphone cardreader

这里使用两个静态库(iMagPay和chinese-dukpt)来读取卡数据。我遇到了重复符号的问题。

imagpay& chinese-dukpt

两个静态库也使用C ++代码。

我也使用-all_load链接器标志,仍然看到此错误。

enter image description here

1 个答案:

答案 0 :(得分:-1)

您是否结帐these threads

当您将库“太宽泛”(即您不需要的链接)链接起来时会发生这种情况。如果您不需要库,请不要链接它。