1

There are a lot of question about duplicate symbols for architecure XXX, but I didn't got answer of my question. In my scenario,I use Cocoapod,and import FMDB,But when I integrate another third party SDK,And when I build the project,and got the error as below: enter image description here

Is there any solution can fix my linker error? PS: I'm not familiar with cocoapod,and here is my pod file

platform :ios, "7.0"

# ignore all warnings from all pods
inhibit_all_warnings!

target "Catalyst", :exclusive => true do
pod 'FMDB'
pod 'MBProgressHUD'
# ...ignore other pod lib.
end

4

1 回答 1

1

根据屏幕截图,MaaS360SDK 似乎依赖于 FMDB,因此将其包含在其包中。通过 Cocoapods 导入它,您正在导入第二个副本,因此会出现重复的符号。移除 pod,您应该能够通过 MaaS360SDK 访问 FMDb。

于 2015-04-28T13:13:23.067 回答