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:
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
Based on the screenshot it looks like MaaS360SDK depends on FMDB and therefore includes it in it's package. By importing it through Cocoapods you are importing a second copy, hence the duplicate symbols. Remove the pod and you should be able to access FMDb through the MaaS360SDK.