duplicate symbol error - FMDatabase
While trying to integrate Optimizely on iOS, I am getting the following linker error:
duplicate symbol _FMDBExecuteBulkSQLCallback in: /Users/xyz/Library/Developer/Xcode/DerivedData/MyA
pp-dafpioykizusrcbsjtbrozbmhlzx/Build/Products/Deb ug-iphoneos/libPods-MyApp-FMDB.a(FMDatabase.o) /Users/xyz/work/MyApp/Pods/Optimizely-iOS-SDK/Opti mizely.framework/Optimizely(FMDatabase.o) ld: 1 duplicate symbol for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
It looks as if Optimizely had an FMDatabase class and it conflicts the that of FMDB.
Can you give me a helping hand how to overcome this issue?
Thanks in advance,
Solved! Go to Solution.