重复符号错误

Duplicate symbols error

我的项目 link 到来自第 3 方的 2 个静态库,其中一个需要 -ObjC 标记在 linker 选项中。目标构建returns出现以下错误:

ld: 49 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

如果我删除 -ObjC linker 标志,那么构建过程将成功完成。但是,这样做会在应用 运行:

时抛出以下异常
2016-01-26 16:05:28.239 testapp[355:167475] -[NSConcreteMutableData SR_stringByBase64Encoding]: unrecognized selector sent to instance 0x14696110
2016-01-26 16:05:28.240 testapp[355:167475] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSConcreteMutableData SR_stringByBase64Encoding]: unrecognized selector sent to instance 0x14696110'
*** First throw call stack:
(0x22c9d68b 0x34486e17 0x22ca2ea5 0x22ca0ad9 0x22bd1258 0xe36e9 0xe6e4d 0x2ead87 0x2f5653 0x2edfe9 0x2f6b35 0x2f698f 0x34d42b45 0x34d42734)
libc++abi.dylib: terminating with uncaught exception of type NSException

我的问题是:是否有任何临时构建选项可以跳过重复符号检查?还是我必须通知图书馆所有者修复他们的图书馆?

使用-force_load <path/to/lib>而不是-ObjC作为链接器标志,项目已成功构建,没有错误。