Home  >  Q&A  >  body text

iOS 一个静态库与一个frame中有重复内容编译器错误:dumplicate symbol

如题,我工程中引入一个静态库(百度地图静态库),一个frame(ShareSDK frame),两个静态库中都使用了同一个第三方框架,编译器警告,dumplicate symbol,如何解决呢?谢谢各位

黄舟黄舟2765 days ago363

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 12:10:13

    We can only try to avoid using the SDK from such irresponsible manufacturers, if you have to use it. . You can try the method on this blog to manually clean up the code in one of the static libraries.
    Special attention must be paid to carefully debugging the function of the static library that is being cleaned, because if the third-party library versions referenced by the two static libraries are very different (such as AFNetworking and AFNetworking2). . You understand.
    So the best solution is to give up one of themˊ_>ˋ

    reply
    0
  • Cancelreply